mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Some minor fixes and additions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use emigui::{label, math::*, types::*, widgets::*, Align, Region, TextStyle};
|
||||
use emigui::{color::*, label, math::*, types::*, widgets::*, Align, Region, TextStyle};
|
||||
|
||||
pub fn show_value_gui(value: &mut usize, gui: &mut Region) {
|
||||
gui.add(Slider::usize(value, 1, 1000));
|
||||
|
||||
@@ -7,7 +7,7 @@ extern crate emigui;
|
||||
extern crate emigui_wasm;
|
||||
|
||||
use {
|
||||
emigui::{label, types::srgba, widgets::Label, Align, Emigui, RawInput},
|
||||
emigui::{color::srgba, label, widgets::Label, Emigui, RawInput},
|
||||
emigui_wasm::now_sec,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user