개정판 f5586fad
issue #000: arrow text control draw 시 focus가 zoomAndPanControl로 잡혀 text가 입력되지 않는 현상
Change-Id: I2bdbe01703d89f83293d8cddb72eafcd27a86a00
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
2115 | 2115 |
} |
2116 | 2116 |
|
2117 | 2117 |
private void zoomAndPanControl_MouseDown(object sender, MouseButtonEventArgs e) |
2118 |
{ |
|
2119 |
zoomAndPanControl.Focus(); |
|
2118 |
{ |
|
2120 | 2119 |
var set_option = this.ParentOfType<MainWindow>().dzTopMenu.Parent.ChildrenOfType<RadNumericUpDown>().Where(item => item.IsKeyboardFocusWithin).FirstOrDefault(); |
2121 | 2120 |
if (set_option != null && !string.IsNullOrEmpty(set_option.ContentText)) |
2122 | 2121 |
{ |
2123 | 2122 |
set_option.Value = double.Parse(set_option.ContentText); |
2124 | 2123 |
//set_option.Focusable = false; |
2125 |
|
|
2124 |
zoomAndPanControl.Focus(); |
|
2126 | 2125 |
} |
2127 | 2126 |
|
2128 | 2127 |
ConvertInkControlToPolygon(); |
내보내기 Unified diff