You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
@@ -2469,7 +2469,7 @@ void RichTextLabel::_notification(int p_what) {
|
||||
|
||||
draw_style_box(theme_cache.normal_style, Rect2(Point2(), size));
|
||||
|
||||
if (has_focus()) {
|
||||
if (has_focus(true)) {
|
||||
RenderingServer::get_singleton()->canvas_item_add_clip_ignore(ci, true);
|
||||
draw_style_box(theme_cache.focus_style, Rect2(Point2(), size));
|
||||
RenderingServer::get_singleton()->canvas_item_add_clip_ignore(ci, false);
|
||||
|
||||
Reference in New Issue
Block a user