개정판 5d55f6fb
issue #000: LineSize 변경 후 zoomandpancontrol 로 focus가 안오는 현상
Change-Id: I9ed2cab099124773d8be291640339f51846a0956
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
2114 | 2114 |
} |
2115 | 2115 |
|
2116 | 2116 |
private void zoomAndPanControl_MouseDown(object sender, MouseButtonEventArgs e) |
2117 |
{ |
|
2117 |
{ |
|
2118 |
zoomAndPanControl.Focus(); |
|
2118 | 2119 |
var set_option = this.ParentOfType<MainWindow>().dzTopMenu.Parent.ChildrenOfType<RadNumericUpDown>().Where(item => item.IsKeyboardFocusWithin).FirstOrDefault(); |
2119 | 2120 |
if (set_option != null && !string.IsNullOrEmpty(set_option.ContentText)) |
2120 | 2121 |
{ |
2121 | 2122 |
set_option.Value = double.Parse(set_option.ContentText); |
2123 |
//set_option.Focusable = false; |
|
2124 |
|
|
2122 | 2125 |
} |
2123 | 2126 |
|
2124 | 2127 |
ConvertInkControlToPolygon(); |
... | ... | |
3853 | 3856 |
zoomAndPanControl.CaptureMouse(); |
3854 | 3857 |
e.Handled = true; |
3855 | 3858 |
} |
3859 |
|
|
3856 | 3860 |
} |
3857 | 3861 |
|
3858 | 3862 |
private void zoomAndPanControl2_MouseDown(object sender, MouseButtonEventArgs e) |
내보내기 Unified diff