remove commented out code
This commit is contained in:
parent
73c8ca4e0f
commit
9e9e03b4c7
@ -154,7 +154,6 @@ namespace Sledgemapper
|
||||
{
|
||||
var indexX = 0;
|
||||
var indexY = 0;
|
||||
//foreach (var item in spriteSheet.index)
|
||||
grid.Widgets.Clear();
|
||||
_mainWidget.ScrOverlay.ResetScroll();
|
||||
foreach (var item in spriteSheet.index.Where(t => String.IsNullOrWhiteSpace(e) || t.Key.ToLower().Contains(e.ToLower())))
|
||||
@ -190,7 +189,6 @@ namespace Sledgemapper
|
||||
_lblOverlayName.Visible = true;
|
||||
_lblOverlayName.Text = ((ImageButton)sender).Id;
|
||||
_desktop.ShowContextMenu(_lblOverlayName, mouseState);
|
||||
// _lblOverlayName.true;
|
||||
}
|
||||
|
||||
protected override void LoadContent()
|
||||
@ -255,20 +253,7 @@ namespace Sledgemapper
|
||||
|
||||
private void OnTxtOverlaySearchChange(object sender, ValueChangedEventArgs<string> e)
|
||||
{
|
||||
// var filteredWidget = _mainWidget.GridOverlays.Widgets.Where(m => m.Id.ToLower().Contains(e.NewValue.ToLower())).ToArray();
|
||||
// foreach (var w in _mainWidget.GridOverlays.Widgets)
|
||||
// {
|
||||
// w.
|
||||
// w.Visible = false;
|
||||
// }
|
||||
|
||||
// foreach (var w in filteredWidget)
|
||||
// {
|
||||
// w.Visible = true;
|
||||
// }
|
||||
|
||||
AddItemToToolGrid(_mainWidget.GridOverlays, OnOverlayButtonClicked, _spriteSheet, e.NewValue);
|
||||
|
||||
}
|
||||
|
||||
private void OnBtnToolbarDeleteClicked(object sender, EventArgs e)
|
||||
@ -381,7 +366,6 @@ namespace Sledgemapper
|
||||
window.ShowModal(_desktop);
|
||||
noteWindow.NoteText.SetKeyboardFocus();
|
||||
}
|
||||
private bool _showRipple = false;
|
||||
|
||||
protected override void Update(GameTime gameTime)
|
||||
{
|
||||
@ -473,7 +457,6 @@ namespace Sledgemapper
|
||||
}
|
||||
|
||||
var pingButton = new TextButton { Text = "Ping", Width = 80, Height = 20, Padding = new Myra.Graphics2D.Thickness(2), HorizontalAlignment = HorizontalAlignment.Left };
|
||||
//pingButton.Click += OnContextMenuPingClick;
|
||||
var location = new Tile { X = _state.HoveredTile.X, Y = _state.HoveredTile.Y };
|
||||
pingButton.Click += (s, e) => OnContextMenuPingClick(s, e, location);
|
||||
popup.AddChild(pingButton);
|
||||
|
Loading…
Reference in New Issue
Block a user