commit 03/10/2025
This commit is contained in:
@@ -9,6 +9,7 @@ import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import org.tinylog.Logger;
|
||||
|
||||
import static Config.SomeCodes.DermiesMode;
|
||||
import static Config.SomeCodes.ValidString;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@@ -41,8 +42,9 @@ public class MainView {
|
||||
|
||||
@FXML
|
||||
private void CaptureClick(ActionEvent event){
|
||||
if (currentselected.equals("capture-view.fxml")) return;
|
||||
loadContent("capture-view.fxml");
|
||||
String fxmlfile = DermiesMode?"capture-view-dermies.fxml":"capture-view.fxml";
|
||||
if (currentselected.equals(fxmlfile)) return;
|
||||
loadContent(fxmlfile);
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
||||
Reference in New Issue
Block a user