feat: all-white mouse cursor across desktop/login/firstInit
This commit is contained in:
@@ -499,8 +499,8 @@ static void cursor_draw(u32 *fb, i64 mx, i64 my) {
|
||||
cursor_bg_valid = 1;
|
||||
cursor_cur_x = mx;
|
||||
cursor_cur_y = my;
|
||||
/* draw cursor shape */
|
||||
u32 white = 0xFFFFFFFF, dark = 0xFF304760;
|
||||
/* draw cursor shape(全白指针,深色描边改白) */
|
||||
u32 white = 0xFFFFFFFF, dark = 0xFFFFFFFF;
|
||||
for (i64 y = 0; y < CUR_H; y++) {
|
||||
i64 py = my + y;
|
||||
if (py < 0 || (u64)py >= fb_h) continue;
|
||||
|
||||
Reference in New Issue
Block a user