![]() - it seems like layer.drawable_size() is 0,0 in metal_renderer.rs:189 - we set this in two places: - in response to a CALayerDelegate setFrameSize: event - in response to a CALayerDelegate viewDidChangeBackingProperties: event. - it looks like if we don't set it in either of these cases we get a different failure mode: the view is zoomed just wrong. - That said, I can reproduce the screenshot if .scale_factor() returns 0. - This might happen if [nativeWindow screen] is nil, which happens when the window is off screen. - possible that zed started with offscreen window? - I would expect that viewDidChangeBackingProperties would fire when that changed. - potential fix: default to 2.0 Release Notes: - Fixed Zed occasionally rendering blank on laungh ([#2422](https://github.com/zed-industries/community/issues/2422)). |
||
---|---|---|
.. | ||
docs | ||
examples | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |