mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fix
This commit is contained in:
parent
b9b2833e97
commit
e16bb66fb3
voxygen
@ -11,7 +11,7 @@ default-run = "veloren-voxygen"
|
|||||||
[features]
|
[features]
|
||||||
gl = ["gfx_device_gl"]
|
gl = ["gfx_device_gl"]
|
||||||
singleplayer = ["server"]
|
singleplayer = ["server"]
|
||||||
tweak = ["const_tweaker"]
|
tweak = ["const-tweaker"]
|
||||||
|
|
||||||
default = ["gl", "singleplayer", "msgbox"]
|
default = ["gl", "singleplayer", "msgbox"]
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ bincode = "1.2"
|
|||||||
deunicode = "1.0"
|
deunicode = "1.0"
|
||||||
uvth = "3.1.1"
|
uvth = "3.1.1"
|
||||||
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "65571ade0d954a0e0bd995fdb314854ff146ab97" }
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "65571ade0d954a0e0bd995fdb314854ff146ab97" }
|
||||||
const_tweaker = { version = "0.2.1", optional = true }
|
const-tweaker = { version = "0.2.1", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
dispatch = "0.1.4"
|
dispatch = "0.1.4"
|
||||||
|
@ -165,11 +165,6 @@ impl<'a> Widget for Bag<'a> {
|
|||||||
|
|
||||||
fn style(&self) -> Self::Style { () }
|
fn style(&self) -> Self::Style { () }
|
||||||
|
|
||||||
/*fn const_tweaker() {
|
|
||||||
// Initialize the web GUI at 'http://127.0.0.1:9938'
|
|
||||||
const_tweaker::run().expect("Could not run server");
|
|
||||||
}*/
|
|
||||||
|
|
||||||
fn update(self, args: widget::UpdateArgs<Self>) -> Self::Event {
|
fn update(self, args: widget::UpdateArgs<Self>) -> Self::Event {
|
||||||
let widget::UpdateArgs { state, ui, .. } = args;
|
let widget::UpdateArgs { state, ui, .. } = args;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user