mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-30 05:15:59 +02:00
Fixed more scaling issues
This commit is contained in:
parent
d9a820f5a1
commit
990d092274
7 changed files with 15 additions and 7 deletions
|
@ -26,7 +26,8 @@ namespace IDE.ui
|
|||
public override void RehupScale(float oldScale, float newScale)
|
||||
{
|
||||
base.RehupScale(oldScale, newScale);
|
||||
Utils.SnapScale(ref mLabelOffset, newScale / oldScale);
|
||||
if (mLabelOffset != 0)
|
||||
mLabelOffset = GS!(-16);
|
||||
}
|
||||
|
||||
protected override float GetLabelOffset()
|
||||
|
|
|
@ -1624,8 +1624,8 @@ namespace IDE.ui
|
|||
|
||||
public override void RehupScale(float oldScale, float newScale)
|
||||
{
|
||||
SetScaleData();
|
||||
base.RehupScale(oldScale, newScale);
|
||||
SetScaleData();
|
||||
}
|
||||
|
||||
public void Serialize(StructuredData data, bool includeItems)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue