개정판 7d670466
Fixed a bug text type control disappeared when ESC key is pressed while drawing
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
2587 | 2587 |
(text_item_ as TextControl).Base_TextBox.Visibility = Visibility.Collapsed; |
2588 | 2588 |
(text_item_ as TextControl).IsEditing = false; |
2589 | 2589 |
(text_item_ as TextControl).EnableEditing = false; |
2590 |
currentControl = null; |
|
2590 | 2591 |
} |
2591 | 2592 |
|
2592 | 2593 |
var Arrowtext_item_ = ViewerDataModel.Instance.MarkupControls_USER.Where(data => (data as ArrowTextControl) != null && (data as ArrowTextControl).IsEditingMode == true).FirstOrDefault(); |
... | ... | |
2594 | 2595 |
{ |
2595 | 2596 |
(Arrowtext_item_ as ArrowTextControl).IsEditingMode = false; |
2596 | 2597 |
(Arrowtext_item_ as ArrowTextControl).Base_TextBox.Focusable = false; |
2598 |
currentControl = null; |
|
2597 | 2599 |
} |
2598 | 2600 |
} |
2599 | 2601 |
|
내보내기 Unified diff