slint/internal/backends
Simon Hausmann ada79d544c Fix on-demand previews in the documentation not showing up
After creating the winit window we end up issuing a request_redraw() on
the window adapter after setting the component. This is before show().
With regular windowing systems the redraw event will be delivered when
the window is actually shown, but winit delivers it right away.

In our draw() implementation we don't do anything before show() is
called, as the size won't be correct.

Therefore content is never rendered.

To work around this behavior, we can use the redraw_requested state and
draw right away in show() on wasm.
2023-06-01 16:51:12 +02:00
..
qt Add basic support for italic font face selection to Text and TextInput 2023-05-31 18:47:39 +02:00
selector Initial support for rendering with Skia and Vulkan 2023-05-09 08:58:35 +02:00
testing Platform: Add a Resized event and use that to convey the changes in size (#2759) 2023-05-21 12:12:30 +02:00
winit Fix on-demand previews in the documentation not showing up 2023-06-01 16:51:12 +02:00