From 21a574f6d2d945dc542c4aaffffa0f829edc63aa Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Mon, 25 May 2020 21:20:39 +0430 Subject: [PATCH] Eyes: Resize the window based on the number of eyes --- Demos/Eyes/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demos/Eyes/main.cpp b/Demos/Eyes/main.cpp index 0ac003c982..32aecc2269 100644 --- a/Demos/Eyes/main.cpp +++ b/Demos/Eyes/main.cpp @@ -51,7 +51,7 @@ int main(int argc, char* argv[]) auto window = GUI::Window::construct(); window->set_title("Eyes"); - window->set_rect(350, 270, 150, 100); + window->set_rect(350, 270, 75 * num_eyes, 100); window->set_has_alpha_channel(true); auto& eyes = window->set_main_widget(num_eyes);