Code cleanup.

This commit is contained in:
2023-02-19 22:15:46 +08:00
parent f2f3dba098
commit 3bf3fdac3d

View File

@@ -46,7 +46,7 @@ namespace Cryville.Crtr.Components {
Dictionary<char, SpriteInfo> m_frames; Dictionary<char, SpriteInfo> m_frames;
public Dictionary<char, SpriteInfo> Frames { public Dictionary<char, SpriteInfo> Frames {
get { return m_frames; } get { return m_frames; }
set { m_frames = value; UpdateFrames(); UpdateScale(); } set { m_frames = value; UpdateFrames(); }
} }
readonly TargetString m_value = new TargetString(); readonly TargetString m_value = new TargetString();
@@ -99,6 +99,7 @@ namespace Cryville.Crtr.Components {
} }
} }
UpdateColor(); UpdateColor();
UpdateScale();
} }
float sum_x; float sum_x;