1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Add painter region as example

This commit is contained in:
Emil Ernerfeldt
2020-04-24 18:32:27 +02:00
parent 7459aa60a4
commit 39e17a7562
7 changed files with 105 additions and 23 deletions

View File

@@ -61,7 +61,7 @@ impl State {
region.set_align(Align::Min);
region.add_label("WebGl painter info:");
region.indent(Id::new("webgl region"), |region| {
region.indent("webgl region", |region| {
region.add_label(self.webgl_painter.debug_info());
});