mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-08 08:37:38 +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 ||
|
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 bookProgressBarVerticalHeight;
|
return 4;
|
||||||
} else {
|
} else {
|
||||||
return bookProgressBarHorizontalHeight;
|
return 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user