You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
FBX: Disable importer when canceling FBX2glTF setup
Pretty hacky solution but it's better than an infinite loop. All this import setup needs to be redone, it's very difficult to properly bail out from an invalid import without triggering reimport loops. Also fix underline not visible at default editor scale in LinkButton. Fixes #73319.
This commit is contained in:
@@ -243,11 +243,12 @@ void LinkButton::_notification(int p_what) {
|
||||
if (do_underline) {
|
||||
int underline_spacing = theme_cache.underline_spacing + text_buf->get_line_underline_position();
|
||||
int y = text_buf->get_line_ascent() + underline_spacing;
|
||||
int underline_thickness = MAX(1, text_buf->get_line_underline_thickness());
|
||||
|
||||
if (is_layout_rtl()) {
|
||||
draw_line(Vector2(size.width - width, y), Vector2(size.width, y), color, text_buf->get_line_underline_thickness());
|
||||
draw_line(Vector2(size.width - width, y), Vector2(size.width, y), color, underline_thickness);
|
||||
} else {
|
||||
draw_line(Vector2(0, y), Vector2(width, y), color, text_buf->get_line_underline_thickness());
|
||||
draw_line(Vector2(0, y), Vector2(width, y), color, underline_thickness);
|
||||
}
|
||||
}
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user