|
|
@@ -886,7 +886,10 @@ public partial class ImageEditor : UserControl
|
|
|
switch (Mode)
|
|
|
{
|
|
|
case ImageEditingMode.Text:
|
|
|
- Navigation.Popup<TextDialogViewModel, string?>(x => { }).ContinueWith(task =>
|
|
|
+ Navigation.Popup<TextDialogViewModel, string?>(x =>
|
|
|
+ {
|
|
|
+ x.Title = "Enter Text:";
|
|
|
+ }).ContinueWith(task =>
|
|
|
{
|
|
|
var text = new TextObject
|
|
|
{
|
|
|
@@ -895,7 +898,8 @@ public partial class ImageEditor : UserControl
|
|
|
PrimaryBrush = PrimaryBrush,
|
|
|
Point = position
|
|
|
};
|
|
|
- Objects.Add(text);
|
|
|
+ AddObject(text);
|
|
|
+ Changed?.Invoke(this, new EventArgs());
|
|
|
}, TaskScheduler.FromCurrentSynchronizationContext());
|
|
|
|
|
|
break;
|