egui-miniquad icon indicating copy to clipboard operation
egui-miniquad copied to clipboard

how to stop drawing of miniquad mouse pointer when mouse point to egui GUI area?

Open skydig opened this issue 3 years ago • 1 comments
trafficstars

I found two kinds of mouse pointer overlaped and blink one after another when the mouse point to for example, textarea, conner of one egui window on ubuntu linux. how to remove miniquad pointer when operate in area of egui?

skydig avatar Sep 03 '22 09:09 skydig

everything is ok when i remove following line from the file lib.rs if cursor_icon == egui::CursorIcon::None { mq_ctx.show_mouse(false); } else { ///////////////////remove this line mq_ctx.show_mouse(true);

        let mq_cursor_icon = to_mq_cursor_icon(cursor_icon);
        let mq_cursor_icon = mq_cursor_icon.unwrap_or(mq::CursorIcon::Default);
        mq_ctx.set_mouse_cursor(mq_cursor_icon);
    }

skydig avatar Sep 03 '22 11:09 skydig