We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7e0c9 commit 3bcad86Copy full SHA for 3bcad86
src/common.rs
@@ -34,7 +34,7 @@ pub fn build_tree(val: &json::Value) -> reply::Node {
34
border: match val.find("border").unwrap().as_string().unwrap().as_ref() {
35
"normal" => reply::NodeBorder::Normal,
36
"none" => reply::NodeBorder::None,
37
- "1pixel" => reply::NodeBorder::OnePixel,
+ "pixel" => reply::NodeBorder::Pixel,
38
_ => unreachable!()
39
},
40
current_border_width: val.find("current_border_width").unwrap().as_i64().unwrap() as i32,
src/reply.rs
@@ -92,7 +92,7 @@ pub enum NodeType {
92
pub enum NodeBorder {
93
Normal,
94
None,
95
- OnePixel
+ Pixel
96
}
97
98
#[derive(Debug)]
0 commit comments