fix s/hidded/hidden/ typo (#295)

fix s/hidded/hidden/ typo
This commit is contained in:
Alex 2019-05-02 13:59:57 +02:00 committed by GitHub
commit e6d59f05cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ window#waybar {
transition-duration: .5s;
}
window#waybar.hidded {
window#waybar.hidden {
opacity: 0.2;
}

View File

@ -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);