summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-01-31 16:25:55 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-01-31 16:25:55 +0100
commit66a80011ceaadbbc2a835b60c68f60415eaeed96 (patch)
treec1b725be256d4a5ee59bb6d7486fbcc5514d0ad1 /src/ui.c
parenta5e8a8b3c99fe69ae181dcaeac8ae687d061a7b5 (diff)
work
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 536eef6..6c9783b 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -180,7 +180,7 @@ static void ui_pop_scissor()
s32 y = global_ui_context.layout.offset_y + global_ui_context.camera->y - WIDGET_PADDING;
render_set_scissor(global_ui_context.layout.active_window,
- x,y,w,h);
+ 0,y,global_ui_context.layout.active_window->width,h);
}
else
{