fix c++ static type error in habit game
This commit is contained in:
@@ -173,7 +173,7 @@
|
|||||||
// TODO logic
|
// TODO logic
|
||||||
(let [&mut nextDay
|
(let [&mut nextDay
|
||||||
(DateTime.fromDate (Date.now))
|
(DateTime.fromDate (Date.now))
|
||||||
oneDayInterval (DateTimeInterval.create (DateTime.make null null 1) (DateTime.make null null 2))
|
oneDayInterval (DateTimeInterval.create (DateTime.make 1970 1 1) (DateTime.make 1970 1 2))
|
||||||
dayToEndSearch
|
dayToEndSearch
|
||||||
(if lastDayDone
|
(if lastDayDone
|
||||||
(DateTime.fromString lastDayDone)
|
(DateTime.fromString lastDayDone)
|
||||||
|
@@ -100,7 +100,7 @@
|
|||||||
(shortcutHandler.start))
|
(shortcutHandler.start))
|
||||||
|
|
||||||
(prop &mut textY 0)
|
(prop &mut textY 0)
|
||||||
(prop &mut :FlxColor color null)
|
(prop &mut :FlxColor color FlxColor.BLACK)
|
||||||
|
|
||||||
(method makeText [:Entry e]
|
(method makeText [:Entry e]
|
||||||
(let [label (HabitModel.activeLabel e)
|
(let [label (HabitModel.activeLabel e)
|
||||||
|
Reference in New Issue
Block a user