fix formatting
parent
b2abdb4a55
commit
4e4746dd4c
|
@ -0,0 +1,14 @@
|
|||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.cs]
|
||||
csharp_space_after_cast = true
|
||||
charset = utf-8-bom
|
||||
max_line_length = 100
|
|
@ -1,4 +1,4 @@
|
|||
using MoonWorks.Graphics;
|
||||
using MoonWorks.Graphics;
|
||||
using MoonWorks;
|
||||
using ImGuiNET;
|
||||
using System.Runtime.InteropServices;
|
||||
|
@ -206,7 +206,7 @@ namespace MoonWorksImGuiExample
|
|||
io.KeyCtrl = Inputs.Keyboard.IsDown(Keycode.LeftControl) || Inputs.Keyboard.IsDown(Keycode.RightControl);
|
||||
io.KeyAlt = Inputs.Keyboard.IsDown(Keycode.LeftAlt) || Inputs.Keyboard.IsDown(Keycode.RightAlt);
|
||||
io.KeySuper = Inputs.Keyboard.IsDown(Keycode.LeftMeta) || Inputs.Keyboard.IsDown(Keycode.RightMeta);
|
||||
io.KeyMap[(int)ImGuiKey.Backspace] = (int)Keycode.Backspace;
|
||||
io.KeyMap[(int) ImGuiKey.Backspace] = (int) Keycode.Backspace;
|
||||
|
||||
io.MousePos = new System.Numerics.Vector2(Inputs.Mouse.X, Inputs.Mouse.Y);
|
||||
io.MouseDown[0] = Inputs.Mouse.LeftButton.IsDown;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using MoonWorks;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using MoonWorks.Graphics;
|
||||
using MoonWorks.Graphics;
|
||||
using MoonWorks.Math;
|
||||
|
||||
namespace MoonWorksImGuiExample
|
||||
|
|
Loading…
Reference in New Issue