|
@@ -882,6 +882,9 @@ internal class CharMap : View
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ args.Handled = true;
|
|
|
|
+
|
|
if (me.Y == 0)
|
|
if (me.Y == 0)
|
|
{
|
|
{
|
|
me.Y = Cursor.Y;
|
|
me.Y = Cursor.Y;
|
|
@@ -968,6 +971,7 @@ internal class CharMap : View
|
|
{
|
|
{
|
|
var client = new UcdApiClient ();
|
|
var client = new UcdApiClient ();
|
|
var decResponse = string.Empty;
|
|
var decResponse = string.Empty;
|
|
|
|
+ string getCodePointError = string.Empty;
|
|
|
|
|
|
var waitIndicator = new Dialog
|
|
var waitIndicator = new Dialog
|
|
{
|
|
{
|
|
@@ -999,12 +1003,13 @@ internal class CharMap : View
|
|
try
|
|
try
|
|
{
|
|
{
|
|
decResponse = await client.GetCodepointDec (SelectedCodePoint);
|
|
decResponse = await client.GetCodepointDec (SelectedCodePoint);
|
|
|
|
+ Application.Invoke (() => waitIndicator.RequestStop ());
|
|
}
|
|
}
|
|
catch (HttpRequestException e)
|
|
catch (HttpRequestException e)
|
|
{
|
|
{
|
|
|
|
+ getCodePointError = errorLabel.Text = e.Message;
|
|
Application.Invoke (() => waitIndicator.RequestStop ());
|
|
Application.Invoke (() => waitIndicator.RequestStop ());
|
|
}
|
|
}
|
|
-
|
|
|
|
};
|
|
};
|
|
Application.Run (waitIndicator);
|
|
Application.Run (waitIndicator);
|
|
waitIndicator.Dispose ();
|
|
waitIndicator.Dispose ();
|