From: Connor Huffine Date: Thu, 30 Oct 2025 12:42:53 +0000 (-0400) Subject: Remove warnings in Pow3r (#41195) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a181063eafcc8ed7dd9c27d4fb891b24f646ba84;p=space-station-14.git Remove warnings in Pow3r (#41195) Refactor obsolete methods --- diff --git a/Pow3r/Program.cs b/Pow3r/Program.cs index 40c011ddcb..be5bf62f39 100644 --- a/Pow3r/Program.cs +++ b/Pow3r/Program.cs @@ -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);