feat(window): Add close button functionality to Window class and update DemoModule

This commit is contained in:
extio-de
2025-12-26 17:52:51 +01:00
parent f6f0901543
commit c5caab1dd9
2 changed files with 69 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ public class DemoModule extends AbstractClientModule {
this.secondaryWindow.setNormalizedPosition(RendererControl.REFERENCE_RESOLUTION.divide(7).multiply(3));
this.secondaryWindow.setNormalizedDimension(RendererControl.REFERENCE_RESOLUTION.divide(7).multiply(2));
this.secondaryWindow.setDraggable(true);
this.secondaryWindow.setCloseButton(true);
this.getModuleService().changeActiveState(this.getId(), true);
this.getModuleService().changeDisplayState(this.getId(), true);