mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
lg: Replace remaining Color.init_from_4ub usage
Fixes cd33baff7d
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3197>
This commit is contained in:
parent
3b0e1a6b5a
commit
5ce991749d
1 changed files with 1 additions and 1 deletions
|
|
@ -539,7 +539,7 @@ class RedBorderEffect extends Clutter.Effect {
|
|||
const coglContext = framebuffer.get_context();
|
||||
|
||||
let color = new Cogl.Color();
|
||||
color.init_from_4ub(0xff, 0, 0, 0xc4);
|
||||
color.init_from_4f(1.0, 0.0, 0.0, 196.0 / 255.0);
|
||||
|
||||
this._pipeline = Cogl.Pipeline.new(coglContext);
|
||||
this._pipeline.set_color(color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue