mirror of
https://github.com/oleid/gnome-shell-teatime.git
synced 2022-04-29 18:53:50 +00:00
Get colors of current theme ≙ transparent background
This commit is contained in:
parent
f762648433
commit
c65b1c823e
@ -355,11 +355,6 @@ const TeaTime = new Lang.Class({
|
||||
let pi = Math.PI;
|
||||
let r = Math.min(width, height) * 0.5;;
|
||||
|
||||
// TODO: get colors from current theme!
|
||||
cr.setSourceRGB(0, 0, 0);
|
||||
cr.rectangle(0, 0, width, height);
|
||||
cr.fill();
|
||||
|
||||
cr.translate(Math.floor(width / 2), Math.floor(height / 2));
|
||||
cr.save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user