Skip to content

Commit

Permalink
feat(MediaViewer): do not use osd (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr authored Jul 16, 2023
1 parent fd5aa32 commit 78337c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions data/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ flowboxchild {
background: alpha(@success_bg_color, 0.1);
}

.media-viewer-headerbar {
background: rgba(0, 0, 0, .7);
color: white;
}

.ttl-status-heading {
font-size: 13px;
}
Expand Down
6 changes: 2 additions & 4 deletions src/Views/MediaViewer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ public class Tuba.Views.MediaViewer : Gtk.Box {
construct {
carousel = new Adw.Carousel () {
vexpand = true,
hexpand = true,
css_classes = {"osd"}
hexpand = true
};

// Move between media using the arrow keys
Expand Down Expand Up @@ -255,7 +254,7 @@ public class Tuba.Views.MediaViewer : Gtk.Box {
title_widget = new Gtk.Label (_("Media Viewer")) {
css_classes = {"title"}
},
css_classes = {"flat", "media-viewer-headerbar"}
css_classes = {"flat"}
};
var back_btn = new Gtk.Button.from_icon_name ("tuba-left-large-symbolic") {
tooltip_text = _("Go Back")
Expand All @@ -280,7 +279,6 @@ public class Tuba.Views.MediaViewer : Gtk.Box {

carousel_dots = new Adw.CarouselIndicatorDots () {
carousel = carousel,
css_classes = {"osd"},
visible = false
};

Expand Down

0 comments on commit 78337c2

Please sign in to comment.