![]() |
GraalControl.onResize()
When I resize the Graal window, it seems to call this event a random amount of times. I noticed that it commonly called it 14 or 9 times. Should I be using a different event? I want to call some gui functions to replace all the guis after a screen resize.
[Edit]: I just had it called 49 times in one resize... now 136... The longer you drag the higher the number but it's only called after you stop dragging. All of Graal freezes until you let go :x |
That's totally normal o.O
I think you would be more satisfied with its father though: GUIContainer.onResize() |
Quote:
|
Quote:
|
What exactly is the problem with moving the controls? Each of those events is valid. You can eventually take the actual size of the control instead of the x,y parameters provided to the event handler to avoid some strange resizing, but it shouldn't really be that slow?
|
Quote:
I thought the event would only be called after the player has finished resizing the Graal window but I found it calling it multiple times during the operation. I was wondering if this was a bug and if not, was there a similiar event called when the player has finished rezising the window that only gets called once. |
There is no special event when the user finished resizing
|
Quote:
|
All times are GMT +2. The time now is 07:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.