mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Scale fixes
This commit is contained in:
parent
56e3077338
commit
1caaec9b56
5 changed files with 28 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue