1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Scale fixes

This commit is contained in:
Brian Fiete 2020-03-28 14:26:59 -07:00
parent 56e3077338
commit 1caaec9b56
5 changed files with 28 additions and 6 deletions

View file

@ -23,6 +23,12 @@ namespace IDE.ui
public bool mSortDirty;
public bool mWantsRehup;
public override void RehupScale(float oldScale, float newScale)
{
base.RehupScale(oldScale, newScale);
Utils.SnapScale(ref mLabelOffset, newScale / oldScale);
}
protected override float GetLabelOffset()
{
return mLabelOffset;
@ -165,6 +171,7 @@ namespace IDE.ui
public override void RehupScale(float oldScale, float newScale)
{
mListView.mOpenButtonX = GS!(4);
base.RehupScale(oldScale, newScale);
SetScaleData();
}