Fixed GUI having a total recalculation whenever a style changed, made tooltip not be centered on mouse, removed duplicate loc from Text

This commit is contained in:
2021-05-28 00:43:40 +00:00
parent 0b63986b64
commit 850bb610bb
3 changed files with 11 additions and 3 deletions

View File

@@ -23,7 +23,6 @@ module CyberarmEngine
@shadow = true if options[:shadow].nil?
@shadow_size = options[:shadow_size] || 1
@shadow_alpha = options[:shadow_alpha] || 30
@shadow_alpha = options[:shadow_alpha] || 30
@shadow_color = options[:shadow_color]
@textobject = check_cache(@size, @font)