Skip to content

Commit

Permalink
Name the parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsacha committed Mar 19, 2024
1 parent 75edf20 commit aecd512
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2021, ScalaFX Project
* Copyright (c) 2011-2024, ScalaFX Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -139,7 +139,7 @@ object BusyWorkerDemo extends JFXApp3 {
).map(_.delegate)
}

lazy val busyWorker: BusyWorker = new BusyWorker("BusyWorker Demo", buttonPane) {
lazy val busyWorker: BusyWorker = new BusyWorker(title = "BusyWorker Demo", disabledNode = buttonPane) {
progressLabel.text <== progressMessage
progressBar.progress <== progressValue
}
Expand Down

0 comments on commit aecd512

Please sign in to comment.