-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify main render system #106
Conversation
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
centered padding now broken, not tested other text positions
I had such bug in the past.... I remember overcoming it by some hacky solution for wasm |
Yeah the fix is commented ( thank you :D ), I think it's being overridden with the |
Oof I thought I was going insane trying to find where I could've broken the enter fix, turns out it's broke on |
oh, let me test it :D |
This is a bit unfortunate: #109 but hopefully we can fix it soonish :) |
Moving this to it's own PR as it's gonna be a fair bit of changes not related to the 3D bits :)
DEFAULT_IMAGE_HANDLE
)CosmicTextPosition
systemsCosmicTextMode
systemsCache calculatedwidget_width
&widget_height
, update when any relevant values changeNeed to learn a bit more about when mutable derefs happen in Bevy to correctly use
Changed<Component>
SystemSet
bug: text_input example adds E when pressing enter on wasmPressingsystems ordering issue
Enter
on wasm sendsE
andDelete
sendsD
intext_input
example #107bug: ReadOnly inputs can still receive backspace inputs on wasmDelete
andBackspace
still work onReadOnly
widgets on WASM #108padding is inconsistent (in text_input)InfiniteLine
cursor position is broken in latest update #109