lg: Replace remaining Color.init_from_4ub usage
Fixes cd33baff7d285af26475777fab1f59537c517cb5 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3197>
This commit is contained in:
parent
3b0e1a6b5a
commit
5ce991749d
@ -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…
x
Reference in New Issue
Block a user