commit 11/04/2025

This commit is contained in:
rdkartono
2025-04-11 14:33:38 +07:00
parent 93b1079747
commit 67af6fe4c0
3 changed files with 12 additions and 1 deletions

View File

@@ -946,7 +946,18 @@ public class CaptureView {
} }
//update_status(image); //update_status(image);
// instruksi scan barcode ketika welcomeUI masih muncul dan ada muka terdeteksi
if (hasface && Objects.equals(AutoCloseAlert.shownBanner, AutoCloseAlert.banner_01)){
if (audioPlayer!=null && audioPlayer.isInited()){
if (!Objects.equals(audioPlayer.getCurrentFile(), audio_scan_barcode)) {
audioPlayer.StopCurrentPlayback();
audioPlayer.PlayFile(audio_scan_barcode, null);
} }
}
}
}
} }

View File

@@ -37,7 +37,7 @@ public class MainApplication extends Application {
Screen screen = Screen.getPrimary(); Screen screen = Screen.getPrimary();
Rectangle2D screenbound = screen.getBounds(); Rectangle2D screenbound = screen.getBounds();
Scene scene = new Scene(fxmlLoader.load(), screenbound.getWidth(), screenbound.getHeight()); Scene scene = new Scene(fxmlLoader.load(), screenbound.getWidth(), screenbound.getHeight());
stage.setTitle("MultiCam Capture App for ERHA 11042025-003"); stage.setTitle("MultiCam Capture App for ERHA 11042025-004");
stage.setScene(scene); stage.setScene(scene);
stage.setResizable(true); stage.setResizable(true);
stage.setMaximized(true); stage.setMaximized(true);