Commit graph

83 commits

Author SHA1 Message Date
JMS55 75504ec4fc Actaully previous way was correct, event handlers on parent 2023-12-21 22:07:00 -08:00
JMS55 302f3cb6e3 Fixes 2023-12-21 21:37:53 -08:00
JMS55 fc4720e01e Add hover events 2023-12-21 21:14:09 -08:00
JMS55 6d6bad2110 Add translation x/y 2023-12-21 19:12:08 -08:00
JMS55 89dfe9ebc1 Implement hot reloading 2023-12-21 00:45:28 -08:00
JMS55 4fb0f30862 Extract module out 2023-12-20 22:53:55 -08:00
JMS55 cfc92ecb55 Fix bug 2023-12-20 22:46:34 -08:00
JMS55 35e9b0f827 Add outline attribute 2023-12-20 22:42:10 -08:00
JMS55 b056d7ca06 WIP: More attributes 2023-12-20 22:35:53 -08:00
JMS55 52b554ddcf Remove hot reloading feature for now 2023-12-19 16:59:51 -08:00
JMS55 d9d3001d5e More style work 2023-12-19 16:27:45 -08:00
JMS55 82f1a2f612 Misc 2023-12-19 10:57:13 -08:00
JMS55 50775610d0 Add text node 2023-12-19 10:55:41 -08:00
JMS55 d8a08b56cc Start of custom elements 2023-12-18 21:24:06 -08:00
JMS55 9d5b0408c0 Stylistic cleanup 2023-12-17 12:19:08 -08:00
JMS55 0ccb49e5e7
Merge pull request #2 from dylanblokhuis/main
Add the remaining mutations
2023-12-17 12:13:41 -08:00
dylanblokhuis 0a4b750eb6 added more mutations and more elements to the demo to test the mutations 2023-12-17 20:58:29 +01:00
JMS55 e10a0fabd3 Add spawn entity button 2023-12-16 21:33:13 -08:00
JMS55 322e0dbcb6 Improve demo styling 2023-12-16 21:21:32 -08:00
JMS55 80e542daf1 Support more style properties 2023-12-16 20:59:19 -08:00
JMS55 fa03c65f8a Fix segfault 2023-12-16 20:19:41 -08:00
JMS55 fe22cc8709 Add TODO for possible segfault cause 2023-12-16 17:48:42 -08:00
JMS55 91ac88def7 Events cannot start on text nodes 2023-12-16 17:43:55 -08:00
JMS55 f6d0b3acd8 Misc 2023-12-16 16:09:13 -08:00
JMS55 b43503a93b Ensure changes to UI root components are picked up 2023-12-16 12:54:01 -08:00
JMS55 d58710e8ac Move VirtualDom to a non-send resource 2023-12-16 12:41:32 -08:00
JMS55 53f3756a66 Bugfixes 2023-12-15 20:31:00 -08:00
JMS55 74e9fecc0f Fix bug with background color of nodes 2023-12-15 18:58:07 -08:00
JMS55 b72a79bc81 Misc fix 2023-12-15 17:53:14 -08:00
JMS55 62fcc8859d Misc 2023-12-15 17:51:05 -08:00
JMS55 48d2e56e69 Cleanup some cache entries 2023-12-15 17:49:10 -08:00
JMS55 cb4407766d Fix Mutation::ReplacePlaceholder 2023-12-15 17:46:19 -08:00
JMS55 11669f597b Misc fix 2023-12-15 17:42:22 -08:00
JMS55 f668d43994 Convert apply_mutations to use world directly 2023-12-15 17:39:02 -08:00
JMS55 344f4983c3 Finish removing unsafe from tick.rs 2023-12-15 17:04:29 -08:00
JMS55 9355cc32e2 WIP: More refactor of tick.rs 2023-12-15 16:53:25 -08:00
JMS55 138a2b5b20 WIP: Direct world access for tick_dioxus_ui() 2023-12-15 16:20:05 -08:00
JMS55 98a22580a1 Misc 2023-12-15 12:36:53 -08:00
JMS55 adb8fcd12d Implement Mutation::CreatePlaceholder 2023-12-13 23:45:30 -08:00
JMS55 7102a64ab2 Small code cleanup 2023-12-13 23:31:10 -08:00
JMS55 dac73985d0 WIP Mutation::SetAttribute 2023-12-13 23:23:30 -08:00
JMS55 a61ee7e0b2 WIP: More advanced example 2023-12-12 19:47:14 -08:00
JMS55 8dcaae99e1 Make use_system() hook return a closure 2023-12-12 18:24:48 -08:00
JMS55 035311036d Fix event handlers not finding target element 2023-12-12 17:31:47 -08:00
JMS55 54f7e5c022 Implement proper resource change detection 2023-12-12 16:37:52 -08:00
JMS55 99929cbc7f Make ECS hooks subscribe to changes 2023-12-12 16:22:54 -08:00
JMS55 deb6ddb2fe Add events todo 2023-12-12 00:14:10 -08:00
JMS55 37774fb3e3 Add support for click events 2023-12-12 00:12:06 -08:00
JMS55 efb9ec93e5 Fix element ordering 2023-12-10 20:40:13 -08:00
JMS55 52da5428fb Fix use_system() 2023-12-10 16:14:35 -08:00