mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
Make emigui fill entire web page
This commit is contained in:
@@ -91,7 +91,7 @@ impl State {
|
||||
self.emigui.ui(region);
|
||||
});
|
||||
|
||||
let bg_color = srgba(16, 16, 16, 255);
|
||||
let bg_color = srgba(0, 0, 0, 0); // Use background css color.
|
||||
let (output, batches) = self.emigui.end_frame();
|
||||
self.webgl_painter.paint_batches(
|
||||
bg_color,
|
||||
|
||||
Reference in New Issue
Block a user