- Nov 02, 2023
-
-
sam authored
* add TODOs * separate CosmicEdit from display breaks loads of stuff: sizing, click functions, cursor hovering just a few Only tested on login example not optimized; spams handle weak clones to ensure got correct handle (will be fixed by new handle swapping routine) not sure about the API changes but might just need to get used to it, is much more extensible * break render function apart centered padding now broken, not tested other text positions * reshape earlier in render to fix padding issue * move image creation to own system * resize internal sprite to computed UI size * prevent panic on zero size UI elements * clicks + editor-display one-to-many relationships * add render systemset * fix hoverable invisible sprites * update examples * fix auto-height bugs * clippy
-
- Oct 13, 2023
-
-
milse113 authored
-
- Oct 04, 2023
-
-
sam authored
-
- Oct 03, 2023
-
-
sam authored
* text cursor hover example * move cursor modify fns to src caveats: - only hides cursor when typing if cursor is in app window - only acts on primary window * add config for cursor changes cursor hide does not work on WASM * Update src/cursor.rs Co-authored-by:
StaffEngineer <111751109+StaffEngineer@users.noreply.github.com> * fix focus handling in cursor.rs * Update src/lib.rs Co-authored-by:
StaffEngineer <111751109+StaffEngineer@users.noreply.github.com> * add none | events | default options for cursor * stop sprites sending hover events per frame * commit missed example --------- Co-authored-by:
StaffEngineer <111751109+StaffEngineer@users.noreply.github.com>
-