mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Compare commits
1 Commits
aa6bf48cd3
...
e2b8e3d86c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2b8e3d86c |
@ -91,13 +91,10 @@ int ScreenComponents::bookProgressBarHeight() {
|
||||
const bool isVertical = (orientation == CrossPointSettings::ORIENTATION::PORTRAIT ||
|
||||
orientation == CrossPointSettings::ORIENTATION::INVERTED);
|
||||
|
||||
constexpr int bookProgressBarVerticalHeight = 4;
|
||||
constexpr int bookProgressBarHorizontalHeight = 2;
|
||||
|
||||
if (isVertical) {
|
||||
return bookProgressBarVerticalHeight;
|
||||
return 4;
|
||||
} else {
|
||||
return bookProgressBarHorizontalHeight;
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user