mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-10 12:58:21 -04:00
parent
f53811ae95
commit
8f15690b85
@ -328,6 +328,7 @@ pub fn toggleWindow(id: []const u8) void {
|
||||
for(openWindows.items, 0..) |_openWindow, i| {
|
||||
if(_openWindow == window) {
|
||||
_ = openWindows.swapRemove(i);
|
||||
window.onCloseFn();
|
||||
selectedWindow = null;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user