Skip to content

Commit f8a0d17

Browse files
committed
refactor: Fix reference to global scale.
1 parent 9778167 commit f8a0d17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ private void CreateDisplays(IEnumerable<DisplayAuthoring> sceneDisplays)
157157
var tableHeight = 0f;
158158
var tableWidth = 1f;
159159
if (ta) {
160-
tableHeight = ta.Table.GlassHeight * VpxConverter.GlobalScale;
161-
tableWidth = ta.Table.Width * VpxConverter.GlobalScale;
160+
tableHeight = ta.Table.GlassHeight * TablePlayfieldAuthoring.GlobalScale;
161+
tableWidth = ta.Table.Width * TablePlayfieldAuthoring.GlobalScale;
162162
}
163163

164164
// get total height

0 commit comments

Comments
 (0)