2018-12-05 12:40:59 -05:00
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
|
|
|
|
namespace Filtration.ThemeEditor.Views
|
2015-06-26 05:17:32 -04:00
|
|
|
|
{
|
2015-06-26 12:42:20 -04:00
|
|
|
|
public partial class ThemeComponentControl
|
2015-06-26 05:17:32 -04:00
|
|
|
|
{
|
2015-06-26 12:42:20 -04:00
|
|
|
|
public ThemeComponentControl()
|
2015-06-26 05:17:32 -04:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
2018-12-05 12:40:59 -05:00
|
|
|
|
|
|
|
|
|
private void ColorPicker_OnMouseDown(object sender, MouseButtonEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
// For some reason if we don't mark OnMouseDown events as handled for this control
|
|
|
|
|
// it ignores them and they end up getting picked up by the parent ListBoxItem instead,
|
|
|
|
|
// resulting in the Advanced tab not being clickable.
|
|
|
|
|
e.Handled = true;
|
|
|
|
|
}
|
2015-06-26 05:17:32 -04:00
|
|
|
|
}
|
|
|
|
|
}
|