You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Hide Control focus when given via mouse input
This commit is contained in:
@@ -762,7 +762,7 @@ void Label::_notification(int p_what) {
|
||||
Vector<LabelSettings::StackedShadowData> stacked_shadow_datas = has_settings ? settings->get_stacked_shadow_data() : Vector<LabelSettings::StackedShadowData>();
|
||||
bool rtl_layout = is_layout_rtl();
|
||||
|
||||
if (has_focus()) {
|
||||
if (has_focus(true)) {
|
||||
theme_cache.focus_style->draw(ci, Rect2(Point2(0, 0), get_size()));
|
||||
} else {
|
||||
theme_cache.normal_style->draw(ci, Rect2(Point2(0, 0), get_size()));
|
||||
|
||||
Reference in New Issue
Block a user