- Nov 09, 2023
-
-
sam edelsten authored
-
- 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 27, 2023
-
-
StaffEngineer authored
-
sam edelsten authored
-
- Oct 26, 2023
-
-
sam edelsten authored
-
- Oct 25, 2023
-
-
sam edelsten authored
-
sam edelsten authored
-
sam edelsten authored
adds bullet (U+2022) to font subset replaces rendered text with bullets in password fields - selection in password widgets is buggy
-
sam edelsten authored
-
- Oct 24, 2023
-
-
sam edelsten authored
adds a `CosmicCanvas` component to hold the image cosmic draws to. allows easier interop between UI and Sprite widgets Each type of widget now uses a single `CosmicEditBundle`, adding widget specific components with `.insert()` or as tuples.
-
- Oct 05, 2023
-
-
sam authored
* first draft * refine placeholder logic bug: inputting and deleting a char on a widget quickly (i think at cursor blink speed) hold the input visually for that blink duration. needs testing: placeholder specific attrs * fix conflict with #73 * update placeholder attrs * small fixes * fix cursor showing on empty readonly widgets --------- Co-authored-by:
StaffEngineer <velo.app1@gmail.com>
-
- 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>
-
- Sep 18, 2023
-
-
sam edelsten authored
-
- Sep 17, 2023
-
-
StaffEngineer authored
-
StaffEngineer authored
-
- Sep 14, 2023
-
-
sam edelsten authored
should allow a user to install and use the plugin without needing their own install of cosmic-text the violet color changed slightly when i set all the colors to bevy colors >.<
-
- Sep 07, 2023
-
-
sam edelsten authored
-
- Aug 10, 2023
-
-
sam edelsten authored
-
- Jul 23, 2023
-
-
sam edelsten authored
also break all tests and examples whoooops
-