1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Some minor fixes and additions

This commit is contained in:
Emil Ernerfeldt
2019-11-02 09:50:49 +01:00
parent 1d6bc3baba
commit be8eb02b3f
9 changed files with 21 additions and 7 deletions

View File

@@ -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));

View File

@@ -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,
};