-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bevy 0.12 #118
Conversation
aaaaah no my noob is showing :')
Gah I really need to get used to testing on HiDPI displays, my laptop has one. Investigating 🧐 |
also bumped |
It's interesting that if I move app from Mac Display to HP monitor and back - scaling is fine. So seems like only "initial" scaling is wrong. |
Hm, backspace doesn't work for me at all on this branch (tested on desktop target). |
oh my life keeps getting in the way at the moment yeah backspace was broken, seems like the editor action only being needed on wasm is gone now. so pushed for time today i only tested if it rendered, typed, ctrl-a'd and deleted my bad doing wasm update and tests now hopefully will get something up and running soon |
@bytemunch no hurry, life first <3 |
i need a higher pixel count to be sure
@StaffEngineer would appreciate a test, my screens only differ by 0.8 in scale factor and it's hard to tell by eye :) |
Backspace bug fix just isn't merged in this branch. I'm kinda lost with the Retina things then, has the scale factor that a retina display gets changed between this branch and main? |
main was fine, let me try to log scale value and get back to you :) |
@bytemunch wow, bevy's bug or even winit 😢 fn setup(mut commands: Commands, windows: Query<&Window, With<PrimaryWindow>>) {
commands.spawn(Camera2dBundle::default());
let primary_window = windows.single();
dbg!("scale_factor: {}", primary_window.scale_factor()); prints 1 on bevy 0.12 and 2 on bevy 0.11 for Retina. |
Very strange, Or maybe that's for actual resizing after further digging. Can't see anything in bevy that's changed scaling though? |
Created a bug: bevyengine/bevy#10491 |
Ah yeah looks like we're getting scale factor before window exists? But should still fire |
Yeah, looks like this, but yeah |
@bytemunch I guess there should be the way to wait until window is created and then read scale factor once... |
Okay, the same issue was already reported by someone else... it's marked as the issue to fix for 0.12.1, so hopefully fix will come soonish :) |
closes #117
Bumps own version
Bumps bevy version
Bumps cosmic-text version (cos why not throw that in too lol, doesn't seem to be any breaking changes)