fmt
This commit is contained in:
parent
bc0377c499
commit
d1bcb4f9b4
|
@ -1,4 +1,4 @@
|
|||
use crate::{Filename, Layout, theme::*};
|
||||
use crate::{theme::*, Filename, Layout};
|
||||
use std::cell::Cell;
|
||||
use std::mem;
|
||||
use std::ops::Not;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{platform, script_bridge, Filename, Layout, theme::*};
|
||||
use crate::{platform, script_bridge, theme::*, Filename, Layout};
|
||||
use std::sync::Arc;
|
||||
use zoon::*;
|
||||
|
||||
|
@ -85,8 +85,7 @@ impl HeaderPanel {
|
|||
Label::new()
|
||||
.s(Padding::new().x(20).y(10))
|
||||
.s(Background::new().color_signal(
|
||||
hovered_signal
|
||||
.map_bool(|| COLOR_MEDIUM_SLATE_BLUE, || COLOR_SLATE_BLUE),
|
||||
hovered_signal.map_bool(|| COLOR_MEDIUM_SLATE_BLUE, || COLOR_SLATE_BLUE),
|
||||
))
|
||||
.s(Align::new().left())
|
||||
.s(RoundedCorners::all(15))
|
||||
|
@ -226,9 +225,7 @@ impl HeaderPanel {
|
|||
.attr("spellcheck", "false")
|
||||
.style("resize", "vertical")
|
||||
})
|
||||
.placeholder(
|
||||
Placeholder::new("FW.say_hello()").s(Font::new().color(COLOR_LIGHT_BLUE)),
|
||||
)
|
||||
.placeholder(Placeholder::new("FW.say_hello()").s(Font::new().color(COLOR_LIGHT_BLUE)))
|
||||
.label_hidden("command editor panel")
|
||||
.text_signal(script_signal)
|
||||
.on_change(clone!((script, command_result) move |text| {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{platform, script_bridge, Filename, theme::*};
|
||||
use crate::{platform, script_bridge, theme::*, Filename};
|
||||
use std::sync::Arc;
|
||||
use wellen::GetItem;
|
||||
use zoon::*;
|
||||
|
@ -122,8 +122,7 @@ impl WaveformPanel {
|
|||
Label::new()
|
||||
.s(Padding::new().x(20).y(10))
|
||||
.s(Background::new().color_signal(
|
||||
hovered_signal
|
||||
.map_bool(|| COLOR_MEDIUM_SLATE_BLUE, || COLOR_SLATE_BLUE),
|
||||
hovered_signal.map_bool(|| COLOR_MEDIUM_SLATE_BLUE, || COLOR_SLATE_BLUE),
|
||||
))
|
||||
.s(Align::new().left())
|
||||
.s(RoundedCorners::all(15))
|
||||
|
|
Loading…
Reference in a new issue