You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an offset field to certain resources for adjusting their position (applied after position calculation).
Added PositionConfig for configuring resource positions.
Removed the get_text_size method; text size is now automatically calculated upon use and stored in the new size field of Text.
Added MouseDetector resource for detecting mouse actions within specific areas.
Added MouseDetectorLevel enum to control detection intensity and reduce performance overhead.
Added accompanying struct MouseDetectorResult for storing mouse detection results.
Extended RustConstructorError with a new error type: MouseDetectorNotFound.
Added a safe_mode optional parameter to nearly all functions that require resource access. When left empty, it uses the new safe_mode field in App for control. When enabled, it performs safety checks on required resources to prevent errors.
Fixed an issue where some Text elements couldn't be selected when multiple Texts were used.
Fixed index errors in Text hyperlinks when encountering emojis or other special characters.
Now, when Text is selected, pressing the select-all shortcut key will select the entire text block.
Added switched field to Switch to indicate whether the switch state was toggled by a click.
SwitchData has been renamed to SwitchAppearance.
Introduced a new SwitchData struct containing several commonly used judgment fields.
Replaced check_switch_click_index and check_switch_state with check_switch_data.