Get colors of current theme ≙ transparent background

This commit is contained in:
Niklas Keller 2014-10-04 23:05:24 +02:00
parent f762648433
commit c65b1c823e

View File

@ -355,11 +355,6 @@ const TeaTime = new Lang.Class({
let pi = Math.PI; let pi = Math.PI;
let r = Math.min(width, height) * 0.5;; 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.translate(Math.floor(width / 2), Math.floor(height / 2));
cr.save(); cr.save();