Skip to content
Snippets Groups Projects
Unverified Commit 696fe6f7 authored by sam edelsten's avatar sam edelsten Committed by GitHub
Browse files

Cosmic text 0.11 (#124)


* barely got text entry working again

* remove local optimizations

i should really put them somewhere else on my machine

* delete most stuff to get the basics nearly working

* editable text

lots of cloning but seems to be the only way if buffers are in the ECS

editor widgets don't relayout when edited, but when unfocused the buffer does

* fix backspace on native and make basic_ui wasm editable

* fix mid-edit layout

* reimplement text cursor blinking

uhoh it's looking like im using the not a starting point pr as a starting point lol

* update `basic_sprite` example

adds a util crate for common example systems
also removes history tracking structs

* `image_background`+`bevy_api_testing` examples

MV `bevy_api_testing.rs` > `sprite_and_ui_clickable.rs`

* remove `CosmicText` in favor of buffer functions

simplifys API and mirrors Bevy's Text functions more closely

* strip autoheight + example, update other examples

* fix wasm compilation

* clippy

* fix text

* fix clippy

* fix wasm

* fix import

* add changelog

* fix mouse cursor hover on sprite widget

* fix editor cursor location when edited

* fix blank widget when focused on startup

* configurable cursor/selection colors

* run layout functions when needed

* fix ui widget mouse cursor

* fix scale change

---------

Co-authored-by: default avatarDima <Dmytro.Rets@Gamesys.co.uk>
Co-authored-by: default avatarStaffEngineer <velo.app1@gmail.com>
parent 2330358c
No related branches found
No related tags found
No related merge requests found
Showing with 1068 additions and 2146 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment