dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.35k stars 206 forks source link

Attempt at improving glossary tag clicking & mouse input logic #2185

Closed Jowan-Spooner closed 1 month ago

Jowan-Spooner commented 1 month ago

The input catcher node and the DialogText node didn't like each other too much. This is mainly because we want the DialogText node to recieve/block input ONLY on the url-tags (e.g. glossary). This is not something the RTL allows you to do by default, so it is now kinda hacked in.

This PR should do a few things:

This last one means from now on, it is actually better to have the Input layer BEHIND the text layer, which is better anyways, because it allows you to put buttons on the textbox layer. This change in order has been made to the style preset, but oc cannot be made in on the styles that people already have in use. But it doesn't break anything that hasn't been broken before.