Emits meta_hover_ended when mouse exit RichTextLabel
This commit is contained in:
parent
ae21664655
commit
4293f76cf1
1 changed files with 8 additions and 0 deletions
|
@ -935,6 +935,14 @@ void RichTextLabel::_notification(int p_what) {
|
||||||
|
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
|
|
||||||
|
case NOTIFICATION_MOUSE_EXIT: {
|
||||||
|
if (meta_hovering) {
|
||||||
|
meta_hovering = NULL;
|
||||||
|
emit_signal("meta_hover_ended", current_meta);
|
||||||
|
current_meta = false;
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
} break;
|
||||||
case NOTIFICATION_RESIZED: {
|
case NOTIFICATION_RESIZED: {
|
||||||
|
|
||||||
main->first_invalid_line = 0; //invalidate ALL
|
main->first_invalid_line = 0; //invalidate ALL
|
||||||
|
|
Loading…
Reference in a new issue