Skip to content

Commit

Permalink
Improve flag naming
Browse files Browse the repository at this point in the history
  • Loading branch information
serivesmejia committed Nov 21, 2024
1 parent 2e2ad47 commit 6073ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ class EOCVSim(val params: Parameters = Parameters()) {

logger.info("-- Begin EOCVSim loop ($hexCode) --")

if(!config.flags.contains("showIAmA") || config.flags["showIAmA"] == true) {
if(!config.flags.contains("hasShownIamA") || config.flags["hasShownIamA"] == false) {
DialogFactory.createIAmA(visualizer)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class IAmAPaperVision(
buttonsPanel.alignmentX = JPanel.CENTER_ALIGNMENT // Align the panel in the BoxLayout
dialog.contentPane.add(buttonsPanel)

visualizer.eocvSim.config.flags["showIAmA"] = false
visualizer.eocvSim.config.flags["hasShownIamA"] = true

dialog.isVisible = true
}
Expand Down

0 comments on commit 6073ef3

Please sign in to comment.