fix c++ static type error in habit game

This commit is contained in:
2022-06-01 21:28:34 +00:00
parent c895a903e5
commit 6d7bc22fa2
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@
// TODO logic
(let [&mut nextDay
(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
(if lastDayDone
(DateTime.fromString lastDayDone)

View File

@@ -100,7 +100,7 @@
(shortcutHandler.start))
(prop &mut textY 0)
(prop &mut :FlxColor color null)
(prop &mut :FlxColor color FlxColor.BLACK)
(method makeText [:Entry e]
(let [label (HabitModel.activeLabel e)