mirror of https://codeberg.org/topola/topola.git
egui/layers: remove unnecessary TryInto usage
This commit is contained in:
parent
ea8c525e1f
commit
a700bd8c20
|
|
@ -74,7 +74,7 @@ impl Layers {
|
|||
.layout()
|
||||
.drawing()
|
||||
.rules()
|
||||
.layer_layername(layer.try_into().unwrap() /* FIXME */)
|
||||
.layer_layername(layer)
|
||||
.unwrap_or("Unnamed layer");
|
||||
|
||||
ui.checkbox(visible, layername);
|
||||
|
|
|
|||
Loading…
Reference in New Issue