Apply icon size to icon and not whole button

This commit is contained in:
Rafostar
2020-12-14 15:46:40 +01:00
parent bfc318ae70
commit 39e4e54ad8

View File

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