Skip to content

Commit

Permalink
bugfix music and sound example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuzatto committed Feb 2, 2025
1 parent 9254332 commit d4874b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jnlp.signed=false
jnlp.signing=
jnlp.signing.alias=
jnlp.signing.keystore=
main.class=br.com.davidbuzatto.jsge.examples.basic.IMGUIExample
main.class=br.com.davidbuzatto.jsge.examples.JSGEShowcaseWindow
# Optional override of default Application-Library-Allowable-Codebase attribute identifying the locations where your signed RIA is expected to be found.
manifest.custom.application.library.allowable.codebase=
# Optional override of default Caller-Allowable-Codebase attribute identifying the domains from which JavaScript code can make calls to your RIA without security prompts.
Expand Down
2 changes: 2 additions & 0 deletions src/br/com/davidbuzatto/jsge/examples/basic/IMGUIExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ public void create() {
lightTheme = GuiTheme.buildLightTheme();
darkTheme = GuiTheme.buildDarkTheme();
coloredTheme = GuiTheme.buildColoredTheme( EngineFrame.BLUE );

currentTheme = lightTheme;
currentTheme.install();

int x = 20;
int y = 40;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ void update( Vector2 mousePos ) {

if ( over && isMouseButtonDown( MOUSE_BUTTON_LEFT ) ) {
down = true;
}

if ( isMouseButtonReleased( MOUSE_BUTTON_LEFT ) ) {
} else {
down = false;
}

Expand Down

0 comments on commit d4874b0

Please sign in to comment.