]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove warnings in Pow3r (#41195)
authorConnor Huffine <chuffine@gmail.com>
Thu, 30 Oct 2025 12:42:53 +0000 (08:42 -0400)
committerGitHub <noreply@github.com>
Thu, 30 Oct 2025 12:42:53 +0000 (12:42 +0000)
Refactor obsolete methods

Pow3r/Program.cs

index 40c011ddcbe268ef32d73fa913b4ec7d8cf0275f..be5bf62f39eca7a60d32b469a41b41fe56d9d5c5 100644 (file)
@@ -103,7 +103,7 @@ namespace Pow3r
             GLFW.WindowHint(WindowHintBool.SrgbCapable, true);
             var windowSettings = new NativeWindowSettings
             {
-                Size = (1280, 720),
+                ClientSize = (1280, 720),
                 WindowState = WindowState.Maximized,
                 StartVisible = false,
 
@@ -199,9 +199,9 @@ namespace Pow3r
 
             _cursors[(int) ImGuiMouseCursor.Arrow] = GLFW.CreateStandardCursor(CursorShape.Arrow);
             _cursors[(int) ImGuiMouseCursor.TextInput] = GLFW.CreateStandardCursor(CursorShape.IBeam);
-            _cursors[(int) ImGuiMouseCursor.ResizeNS] = GLFW.CreateStandardCursor(CursorShape.VResize);
-            _cursors[(int) ImGuiMouseCursor.ResizeEW] = GLFW.CreateStandardCursor(CursorShape.HResize);
-            _cursors[(int) ImGuiMouseCursor.Hand] = GLFW.CreateStandardCursor(CursorShape.Hand);
+            _cursors[(int) ImGuiMouseCursor.ResizeNS] = GLFW.CreateStandardCursor(CursorShape.ResizeNS);
+            _cursors[(int) ImGuiMouseCursor.ResizeEW] = GLFW.CreateStandardCursor(CursorShape.ResizeEW);
+            _cursors[(int) ImGuiMouseCursor.Hand] = GLFW.CreateStandardCursor(CursorShape.PointingHand);
             _cursors[(int) ImGuiMouseCursor.ResizeAll] = GLFW.CreateStandardCursor(CursorShape.Arrow);
             _cursors[(int) ImGuiMouseCursor.ResizeNESW] = GLFW.CreateStandardCursor(CursorShape.Arrow);
             _cursors[(int) ImGuiMouseCursor.ResizeNWSE] = GLFW.CreateStandardCursor(CursorShape.Arrow);