From 39e4e54ad87ca400aa6e20e34d6541c1640c1a8c Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Mon, 14 Dec 2020 15:46:40 +0100 Subject: [PATCH] Apply icon size to icon and not whole button --- clapper_src/controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clapper_src/controls.js b/clapper_src/controls.js index 5df8ce1a..3ec777ef 100644 --- a/clapper_src/controls.js +++ b/clapper_src/controls.js @@ -297,7 +297,7 @@ class ClapperControls extends Gtk.Box 'media-playback-start-symbolic', 'media-playback-pause-symbolic' ); - this.togglePlayButton.add_css_class('playbackicon'); + this.togglePlayButton.child.add_css_class('playbackicon'); this.togglePlayButton.connect( 'clicked', this._onTogglePlayClicked.bind(this) );