From a181063eafcc8ed7dd9c27d4fb891b24f646ba84 Mon Sep 17 00:00:00 2001 From: Connor Huffine Date: Thu, 30 Oct 2025 08:42:53 -0400 Subject: [PATCH] Remove warnings in Pow3r (#41195) Refactor obsolete methods --- Pow3r/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);