1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 07:30:40 +01:00

Added using for SceneManager.Object and SceneManager.Utils. Removed unnecessary code for RNUIMouseInputHandler after having added InputManager dependency.

This commit is contained in:
Rich Dunne 2020-12-06 07:28:51 -07:00
parent 39f7bf6b95
commit a2b935659f

View file

@ -3,8 +3,8 @@ using RAGENativeUI;
using RAGENativeUI.Elements;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using SceneManager.Objects;
using SceneManager.Utils;
namespace SceneManager
{
@ -109,17 +109,6 @@ namespace SceneManager
private static void SettingsMenu_OnMenuOpen(UIMenu menu)
{
var scrollerItems = new List<UIMenuScrollerItem> { speedUnits };
var checkboxItems = new Dictionary<UIMenuCheckboxItem, RNUIMouseInputHandler.Function>()
{
{ threeDWaypoints, null},
{ mapBlips, ToggleMapBlips},
{ hints, ToggleHints}
};
var selectItems = new Dictionary<UIMenuItem, RNUIMouseInputHandler.Function>()
{
{ saveSettings, ToggleSettings }
};
RNUIMouseInputHandler.Initialize(menu, scrollerItems);
}
}