Skip to content

Commit

Permalink
Fix interface bar draw being cut off at the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmTrial committed Aug 12, 2021
1 parent b5a69c5 commit dc89002
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static void DrawLeftInterfaceBarBackground() {
frame += 1) {
interface_bar_background_left.DrawFrame(
width_covered,
std::get<1>(width_and_height),
std::get<1>(width_and_height) - 1,
0,
frame,
frame_options
Expand Down Expand Up @@ -126,7 +126,7 @@ static void DrawLeftInterfaceBarBackground() {

interface_bar_background_center.DrawFrame(
width_covered,
std::get<1>(width_and_height),
std::get<1>(width_and_height) - 1,
0,
frame_to_draw,
frame_options
Expand Down Expand Up @@ -160,7 +160,7 @@ static void DrawRightInterfaceBarBackground() {
frame += 1) {
interface_bar_background_right.DrawFrame(
std::get<0>(width_and_height) - width_covered,
std::get<1>(width_and_height),
std::get<1>(width_and_height) - 1,
0,
frame,
frame_options
Expand Down Expand Up @@ -189,7 +189,7 @@ static void DrawRightInterfaceBarBackground() {

interface_bar_background_center.DrawFrame(
std::get<0>(width_and_height) - width_covered,
std::get<1>(width_and_height),
std::get<1>(width_and_height) - 1,
0,
frame_to_draw,
frame_options
Expand Down

0 comments on commit dc89002

Please sign in to comment.