altTab: Properly query the themenode's color when painting the arrows
This commit is contained in:
parent
1bc805206b
commit
294490f77b
@ -1103,10 +1103,8 @@ ThumbnailList.prototype = {
|
|||||||
|
|
||||||
function _drawArrow(area, side) {
|
function _drawArrow(area, side) {
|
||||||
let themeNode = area.get_theme_node();
|
let themeNode = area.get_theme_node();
|
||||||
let borderColor = new Clutter.Color();
|
let borderColor = themeNode.get_border_color(side);
|
||||||
themeNode.get_border_color(side, borderColor);
|
let bodyColor = themeNode.get_foreground_color();
|
||||||
let bodyColor = new Clutter.Color();
|
|
||||||
themeNode.get_foreground_color(bodyColor);
|
|
||||||
|
|
||||||
let [width, height] = area.get_surface_size ();
|
let [width, height] = area.get_surface_size ();
|
||||||
let cr = area.get_context();
|
let cr = area.get_context();
|
||||||
|
Loading…
Reference in New Issue
Block a user