OSDN Git Service

コメントを追加した
[fooeditengine/FooEditEngine.git] / UWP / FooEditEngine.UWP / FooTextBox.cs
index 1e6d5a9..59d557a 100644 (file)
@@ -750,6 +750,7 @@ namespace FooEditEngine.UWP
 
                 double scale = Util.GetScale();
 
+                //Core.Textはスクリーン座標に変換してくれないので自前で変換する(しかも、デバイス依存の座標で返さないといけない)
                 var screenStartPos = Util.GetScreentPoint(startPos, this).Scale(scale);
                 var screenEndPos = Util.GetScreentPoint(endPos, this).Scale(scale);
                 args.Request.LayoutBounds.TextBounds = new Rect(