Skip to content

Commit aecd512

Browse files
committed
Name the parameters
1 parent 75edf20 commit aecd512

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scalafx-extras-demos/src/main/scala/org/scalafx/extras/BusyWorkerDemo.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2011-2021, ScalaFX Project
2+
* Copyright (c) 2011-2024, ScalaFX Project
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -139,7 +139,7 @@ object BusyWorkerDemo extends JFXApp3 {
139139
).map(_.delegate)
140140
}
141141

142-
lazy val busyWorker: BusyWorker = new BusyWorker("BusyWorker Demo", buttonPane) {
142+
lazy val busyWorker: BusyWorker = new BusyWorker(title = "BusyWorker Demo", disabledNode = buttonPane) {
143143
progressLabel.text <== progressMessage
144144
progressBar.progress <== progressValue
145145
}

0 commit comments

Comments
 (0)