egui/examples/custom_window_frame
rustbasic d3ea90f5ef
Fix dragging of `custom_window_frame` on Windows (#4592)
Fix: example `custom_window_frame`

Sending `ViewportCommand::StartDrag` when the secondary button is
clicked in Windows will disable drag, and drag will not be possible with
the primary button afterwards.

So in the example `custom_window_frame`, modified to use
`dragged_by(PointerButton::Primary)` instead of
`is_pointer_button_down_on()`.
2024-05-31 15:22:46 +02:00
..
src Fix dragging of `custom_window_frame` on Windows (#4592) 2024-05-31 15:22:46 +02:00
Cargo.toml Replace cargo-cranky with workspace lints (#4413) 2024-04-25 17:24:50 +02:00
README.md Automatically generate screenshots for all examples (#2379) 2022-12-04 17:27:40 +01:00
screenshot.png Update example screenshots 2024-02-05 13:01:10 +01:00

README.md

Example how to show a custom window frame instead of the default OS window chrome decorations.

cargo run -p custom_window_frame