Update cosmic-text to allow for line selection
This commit is contained in:
parent
94fe82f38e
commit
3ba99aaab5
3 changed files with 155 additions and 70 deletions
|
|
@ -350,7 +350,16 @@ where
|
|||
image_color |= (color.0 & 0x00FF0000) >> 16;
|
||||
// Shift blue channel
|
||||
image_color |= (color.0 & 0x000000FF) << 16;
|
||||
draw_rect(buffer, image_w, image_h, x, y, w as i32, h as i32, image_color);
|
||||
draw_rect(
|
||||
buffer,
|
||||
image_w,
|
||||
image_h,
|
||||
x,
|
||||
y,
|
||||
w as i32,
|
||||
h as i32,
|
||||
image_color,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue