From 4d4562aadebe7165533ef25e6b41ccd35d8ef831 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 1 May 2019 12:40:12 +0100 Subject: [PATCH] fix s/hidded/hidden/ typo --- resources/style.css | 2 +- src/bar.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/style.css b/resources/style.css index 39eb6ce0..ea881313 100644 --- a/resources/style.css +++ b/resources/style.css @@ -14,7 +14,7 @@ window#waybar { transition-duration: .5s; } -window#waybar.hidded { +window#waybar.hidden { opacity: 0.2; } diff --git a/src/bar.cpp b/src/bar.cpp index 7a48a481..dfe01ec2 100644 --- a/src/bar.cpp +++ b/src/bar.cpp @@ -198,9 +198,9 @@ auto waybar::Bar::toggle() -> void { visible = !visible; auto zone = visible ? height_ : 0; if (!visible) { - window.get_style_context()->add_class("hidded"); + window.get_style_context()->add_class("hidden"); } else { - window.get_style_context()->remove_class("hidded"); + window.get_style_context()->remove_class("hidden"); } zwlr_layer_surface_v1_set_exclusive_zone(layer_surface, zone); wl_surface_commit(surface);