1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Add ViewportInfo::occluded and visible (#7948)

* Part of https://github.com/emilk/egui/issues/5112
* Part of https://github.com/emilk/egui/issues/5113
* Part of https://github.com/emilk/egui/issues/5136

Once we support calling `App::logic` when an app is occluded or
minimized, it is useful to know that it is, in fact, occluded or
minimized.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Emil Ernerfeldt
2026-03-02 18:36:04 +01:00
committed by GitHub
parent 9276778181
commit 2be6e225bf
7 changed files with 143 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
[package]
name = "test_background_logic"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2024"
rust-version = "1.92"
publish = false
[lints]
workspace = true
[dependencies]
eframe = { workspace = true, features = ["default"] }
env_logger = { workspace = true, features = ["auto-color", "humantime"] }