Beautify
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
parent
b0c17209ed
commit
3368efc950
4 changed files with 7 additions and 3 deletions
|
@ -39,7 +39,7 @@ template $ExtensionPlayer: Box {
|
|||
|
||||
Box {
|
||||
styles [
|
||||
"nekoplayer-goida",
|
||||
"nekoplayer-artist",
|
||||
]
|
||||
|
||||
halign: center;
|
||||
|
|
|
@ -102,7 +102,7 @@ public class Extension.Player : Gtk.Box {
|
|||
}
|
||||
}
|
||||
var colors = new Gdk.RGBA[0];
|
||||
for (var i = 0; i < 10; i++) {
|
||||
for (var i = 0; i < 2; i++) {
|
||||
var c = max_color (ref histogram);
|
||||
colors += c;
|
||||
histogram[c] = -1;
|
||||
|
|
|
@ -11,7 +11,7 @@ using GLib;
|
|||
|
||||
|
||||
public class Extension.QuickSetting : Phosh.QuickSetting {
|
||||
private Player player = new Player ();
|
||||
private Player player = new Player () { margin_top = 24 };
|
||||
private Gtk.Widget? hiden_player = null;
|
||||
|
||||
construct {
|
||||
|
|
|
@ -14,3 +14,7 @@
|
|||
.nekoplayer-controls button:active {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
.nekoplayer-title {
|
||||
font-weight: bold;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue