Dreikblack Posted June 27, 2023 Posted June 27, 2023 Last update installed, no such problem in 1.02. Can be reproduced in Learn example by pressing any keyboard key in app window. https://www.ultraengine.com/learn/Interface_ProcessEvent?lang=cpp #include "UltraEngine.h" using namespace UltraEngine; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create window auto window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[0]); //Create framebuffer auto framebuffer = CreateFramebuffer(window); //Create world auto world = CreateWorld(); //Load a font auto font = LoadFont("Fonts/arial.ttf"); //Create user interface auto ui = CreateInterface(world, font, framebuffer->size); //Create widget iVec2 sz = ui->root->ClientSize(); auto button = CreateButton("Button", sz.x / 2 - 75, sz.y / 2 - 15, 150, 30, ui->root); //Create camera auto camera = CreateCamera(world, PROJECTION_ORTHOGRAPHIC); camera->SetPosition(framebuffer->size.x / 2, framebuffer->size.y / 2, 0); while (true) { while (PeekEvent()) { const Event ev = WaitEvent(); switch (ev.id) { case EVENT_WINDOWCLOSE: if (ev.source == window) { return 0; } break; default: ui->ProcessEvent(ev); break; } } world->Update(); world->Render(framebuffer); } return 0; } Quote
Solution Josh Posted June 28, 2023 Solution Posted June 28, 2023 It's because of the hotkeys. It will be fixed in the next build. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted June 30, 2023 Author Posted June 30, 2023 I still have this issue after last update Quote
Josh Posted July 1, 2023 Posted July 1, 2023 The update is there now. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.