mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-13 17:45:10 +00:00
egui-winit starts RawInput::focused false and only a winit Focused event sets it. A window that egui never heard was focused cancelled every tab, group and window drag and every resize on its first frame. Gestures now end on a focused-to-unfocused transition (or Escape); a window that never reported focus still drags while the pointer is pressed in it.
17 lines
519 B
Rust
17 lines
519 B
Rust
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
//! Small, reusable egui components for the Craft frontends.
|
|
//!
|
|
//! Applications own their assets, themes, layouts, commands and document semantics. Components
|
|
//! accept focused style values and return egui responses; no application engine is required.
|
|
|
|
pub mod buttons;
|
|
pub mod docking;
|
|
mod focus;
|
|
pub mod icons;
|
|
pub mod layout;
|
|
pub mod panes;
|
|
pub mod printing;
|
|
pub mod tabs;
|
|
pub mod theme;
|