Skip to content

Commit

Permalink
magnifier: remove a run time warning (linuxmint#7213)
Browse files Browse the repository at this point in the history
  • Loading branch information
brownsr authored and clefebvre committed Jan 24, 2018
1 parent fa9a5c7 commit 976a760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ui/magnifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,11 @@ Magnifier.prototype = {
* @color: The color as a string, e.g. '#ff0000ff' or 'red'.
*/
setCrosshairsColor: function(color) {
return;
/* return; code below crashes under latest cjs
if (this._crossHairs) {
let clutterColor = Clutter.Color.from_string(color);
this._crossHairs.setColor(clutterColor);
}
} */
},

/**
Expand Down

0 comments on commit 976a760

Please sign in to comment.