Fixed incorrect layout for control bar.
This commit is contained in:
+2
-2
@@ -89,9 +89,9 @@ calc_layout :: proc(screen_width: f32, screen_height: f32) -> Layout {
|
|||||||
|
|
||||||
control_bar = rl.Rectangle {
|
control_bar = rl.Rectangle {
|
||||||
x = sidebar_width,
|
x = sidebar_width,
|
||||||
y = 0,
|
y = display_height,
|
||||||
width = screen_width - (sidebar_width * 2),
|
width = screen_width - (sidebar_width * 2),
|
||||||
height = (screen_height * 0.05) + display_height
|
height = (screen_height * 0.05)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user