mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Compare commits
No commits in common. "a9016c683b2df1b84390c124286a1dbe2ca3ff2b" and "78699e1a5c59b7a1f3d1e132dbc709548e7a4a66" have entirely different histories.
a9016c683b
...
78699e1a5c
@ -59,13 +59,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