FeedbackWindow.collectFeedback return the window

This commit is contained in:
2023-08-14 15:56:01 -06:00
parent 14c7d714e4
commit bcdc1124ee

View File

@@ -82,9 +82,11 @@
(future.ready timeout)))
}))
(function :Void collectFeedback [:Void->Void onClose
(function :SimpleWindow collectFeedback [:Void->Void onClose
&opt :FlxColor bgColor
:FlxColor textColor
:Bool xButton
:String xKey]
(.show (new FeedbackWindow onClose bgColor textColor xButton xKey)))
(let [w (new FeedbackWindow onClose bgColor textColor xButton xKey)]
(w.show)
w))