Skip to content

Commit

Permalink
Merge pull request watplugin#315 from Jummit/fix-minimized-setting
Browse files Browse the repository at this point in the history
Fix test window always launching minimized
  • Loading branch information
AlexDarigan authored Dec 17, 2021
2 parents b39de80 + a156795 commit 4df9bbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/WAT/runner/TestRunner.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ func _ready() -> void:
name = "TestRunner"
if not Engine.is_editor_hint():
OS.window_size = Settings.window_size()
OS.window_minimized = Settings.minimize_window_when_running_tests()
if Settings.minimize_window_when_running_tests():
OS.window_minimized = true

func run(tests: Array, repeat: int, threads: int, results_view: Node = null) -> Array:
var results: Array = []
Expand Down

0 comments on commit 4df9bbd

Please sign in to comment.