mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-14 19:27:01 -04:00
View: end_frame keeps its doc comment (#945 put lights_out under it)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4
This commit is contained in:
1 file changed
+1
-1
@@ -1048,7 +1048,6 @@ impl LightcraftApp {
|
||||
raw.events.extend(self.synthetic.drain(..n));
|
||||
}
|
||||
|
||||
/// Frame timings once layout is done (`t0`: when layout started).
|
||||
/// Lights Out: veil everything but the photo (the loupe's image, or the grid / Compare /
|
||||
/// Survey area) in black. Painted above the panels, below dialogs and notices.
|
||||
fn lights_out(&self, ctx: &egui::Context) {
|
||||
@@ -1073,6 +1072,7 @@ impl LightcraftApp {
|
||||
p.rect_filled(Rect::from_min_max(pos2(k.right(), k.top()), pos2(screen.right(), k.bottom())), 0.0, veil);
|
||||
}
|
||||
|
||||
/// Frame timings once layout is done (`t0`: when layout started).
|
||||
fn end_frame(&mut self, ctx: &egui::Context, t0: f64) {
|
||||
ctx.output(|o| {
|
||||
for c in &o.commands {
|
||||
|
||||
Reference in new issue
Block a user