diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.odin | 2 | ||||
-rw-r--r-- | src/time.odin | 2 | ||||
-rw-r--r-- | src/ui_implementation.odin | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main.odin b/src/main.odin index fe5f2c8..cc80b3c 100644 --- a/src/main.odin +++ b/src/main.odin @@ -263,7 +263,7 @@ when true { // - - - - WORKDAYS - - - - - for day, i in &workdays { + for &day, i in &workdays { line := panel_line(middle_section, theme.background) line.layout_cut_children = .Left diff --git a/src/time.odin b/src/time.odin index ac1626e..5ab879f 100644 --- a/src/time.odin +++ b/src/time.odin @@ -155,7 +155,7 @@ new_workday :: proc(previous_wrap : Moment, fmt.println(total_timeblocks) - for block, i in &blocks { + for &block, i in &blocks { if i >= total_timeblocks do break //using Weekday diff --git a/src/ui_implementation.odin b/src/ui_implementation.odin index 3a2ddc0..d351761 100644 --- a/src/ui_implementation.odin +++ b/src/ui_implementation.odin @@ -242,7 +242,7 @@ timeline :: proc(parent: ^Item, day: ^Workday) -> ^Item { data.subtype = .Timeline data.day = day - for block in &day.blocks { + for &block in &day.blocks { oui.item_insert(item, timeline_block(&block)) } |