25 Commits

Author SHA1 Message Date
Gabriel Tofvesson
73aa371813 Fix Prop application order 2024-10-14 16:36:19 +02:00
Gabriel Tofvesson
86e251152c Fix Children reload order 2024-10-13 16:52:59 +02:00
Gabriel Tofvesson
9ba0ada978 Simplify lists and visibility 2024-10-13 16:05:58 +02:00
Gabriel Tofvesson
2b24904c6f Iterate over children as normal 2024-10-09 23:18:37 +02:00
Gabriel Tofvesson
3bb7a69577 Lift common functionality to prop 2024-10-09 06:17:23 +02:00
Gabriel Tofvesson
ebf49b1df7 Only reposition main axis 2024-10-08 18:14:17 +02:00
Gabriel Tofvesson
027edc1a27 Events local to parent 2024-10-08 17:36:58 +02:00
Gabriel Tofvesson
a13b2fb208 Assume element-local coordinates in handler 2024-10-08 17:33:37 +02:00
Gabriel Tofvesson
cb037bf811 Fix offset calculations 2024-10-08 17:27:08 +02:00
Gabriel Tofvesson
8232f116a5 Simplify event handling 2024-10-08 16:59:32 +02:00
Gabriel Tofvesson
0e1c5a4fbb Optimize List click handler 2024-10-08 16:38:10 +02:00
Gabriel Tofvesson
6e95fe9007 Simplify click detection 2024-10-08 16:13:43 +02:00
Gabriel Tofvesson
d9f9add3c2 Implement event management for List 2024-10-04 16:19:20 +02:00
Gabriel Tofvesson
24d60850e8 Allow full render tree invalidation 2024-10-04 15:57:03 +02:00
Gabriel Tofvesson
1482437161 Use List.children, not List.elements 2024-10-04 13:41:48 +02:00
Gabriel Tofvesson
1d29de8ace Compute sum of List element dims on-axis and max of cross-axis 2024-10-04 13:40:32 +02:00
Gabriel Tofvesson
691b73337c Adjust List child position calculation 2024-10-04 01:15:39 +02:00
Gabriel Tofvesson
e985bcba63 Adjust child positions on List reload 2024-10-04 01:12:30 +02:00
Gabriel Tofvesson
35db4aa970 Fix typo 2024-10-04 01:07:58 +02:00
Gabriel Tofvesson
437b93a688 Fix List width computation 2024-10-04 00:58:54 +02:00
Gabriel Tofvesson
64613d943b Properly delegate sub-windows on container element reload 2024-10-04 00:55:12 +02:00
Gabriel Tofvesson
552c19db47 Only render when dirty 2024-10-04 00:29:14 +02:00
Gabriel Tofvesson
0865e40758 Fix module requirement names 2024-10-03 23:03:02 +02:00
Gabriel Tofvesson
f47a839341 Refactor to more abstract field accesses 2024-10-02 13:47:58 +02:00
da6325e080 Implement basic graphical elements 2024-10-01 14:34:56 +00:00