fix(popup): often opening in wrong place

Fixes #16.
This commit is contained in:
Jake Stanger
2022-10-14 23:48:28 +01:00
parent 9e31107251
commit 5523e9af46
3 changed files with 29 additions and 7 deletions

View File

@@ -175,8 +175,8 @@ fn add_modules(
let popup = popup.read().expect("Failed to get read lock on popup");
popup.hide();
popup.show(x, w);
popup.show_content($id);
popup.show(x, w);
}
ModuleUpdateEvent::ClosePopup => {
debug!("Closing popup for {} [#{}]", $name, $id);