Skip to content

Commit 3f5a3ec

Browse files
committed
Small UI improvement
1 parent 315ceea commit 3f5a3ec

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

examples/samples/core/src/main/java/jolt/example/samples/app/SamplesApp.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void renderUI() {
129129
ImGui.EndTabItem();
130130
}
131131
if(ImGui.BeginTabItem("Test")) {
132-
renderTestUI();
132+
test.renderUI();
133133
ImGui.EndTabItem();
134134
}
135135
ImGui.EndTabBar();
@@ -139,6 +139,8 @@ public void renderUI() {
139139
if(newTest != null) {
140140
startTest(newTest);
141141
}
142+
143+
renderTestUI();
142144
}
143145

144146
private void renderTestUI() {

examples/samples/core/src/main/java/jolt/example/samples/app/tests/Test.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,8 @@ protected Body CreateMeshTerrain() {
222222
bodyCreationSettings.dispose();
223223
return floor;
224224
}
225+
226+
public void renderUI() {
227+
228+
}
225229
}

examples/samples/desktop-wgpu/src/main/java/jolt/example/samples/app/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static void main(String[] args) {
1111
GraphicManagerApi.graphicApi = new WGPUGraphicApi();
1212

1313
WgDesktopApplicationConfiguration config = new WgDesktopApplicationConfiguration();
14-
config.setWindowedMode(640, 480);
14+
config.setWindowedMode(1444, 800);
1515
config.setTitle("WebGPU");
1616
config.enableGPUtiming = false;
1717
config.useVsync(false);

0 commit comments

Comments
 (0)