diff --git a/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs b/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs index abd0bb19db..607f4318b4 100644 --- a/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs +++ b/osu.Framework/Input/Handlers/Tablet/OpenTabletDriverHandler.cs @@ -135,13 +135,11 @@ private void updateOutputArea(IWindow window) { case AbsoluteOutputMode absoluteOutputMode: { - // window size & pos float outputWidth = window.ClientSize.Width; float outputHeight = window.ClientSize.Height; float posX = outputWidth / 2; float posY = outputHeight / 2; - // applying "output area" float areaOffsX = (1f - OutputAreaSize.Value.X) * (OutputAreaPosition.Value.X - 0.5f) * outputWidth; float areaOffsY = (1f - OutputAreaSize.Value.Y) * (OutputAreaPosition.Value.Y - 0.5f) * outputHeight; outputWidth *= OutputAreaSize.Value.X; @@ -149,7 +147,6 @@ private void updateOutputArea(IWindow window) posX += areaOffsX; posY += areaOffsY; - // Set output area in pixels absoluteOutputMode.Output = new Area { Width = outputWidth,