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