Skip to content

Commit 8eca426

Browse files
committed
button.ts: .state type changed from number[] to any[].
1 parent f78c6f6 commit 8eca426

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

button.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,12 @@ namespace user_interface_base {
238238
* used by .dynamicBoundaryColorsOn and .selected, see .draw()
239239
*/
240240
private boundaryColor: number
241+
241242
/**
242243
* Seldom used, you can store arbitrary data here.
243244
* This might be useful when you choose to pass button with onClick().
244245
*/
245-
public state: number[]
246+
public state: any[]
246247
/**
247248
* Used to disable a button.
248249
*/

0 commit comments

Comments
 (0)