Revert "feat: add ime fix in new version."
This reverts commit 26ff55cebd.
This commit is contained in:
@@ -283,13 +283,11 @@ public class IPv4Box: TemplatedControl
|
||||
{
|
||||
if (e.ClickCount == 1)
|
||||
{
|
||||
_imClient.ShowInputPanel();
|
||||
_imClient.SetPresenter(presenter);
|
||||
presenter.ShowCaret();
|
||||
_imClient.SetPresenter(presenter);
|
||||
presenter.ShowCaret();
|
||||
_currentActivePresenter = presenter;
|
||||
var caretPosition = position.WithX(position.X - presenter.Bounds.X);
|
||||
presenter.MoveCaretToPoint(caretPosition);
|
||||
|
||||
}
|
||||
else if (e.ClickCount == 2)
|
||||
{
|
||||
|
||||
@@ -2,7 +2,6 @@ using Avalonia;
|
||||
using Avalonia.Controls.Presenters;
|
||||
using Avalonia.Input.TextInput;
|
||||
using Avalonia.Media.TextFormatting;
|
||||
using Avalonia.VisualTree;
|
||||
using System.Text;
|
||||
|
||||
namespace Ursa.Controls;
|
||||
|
||||
Reference in New Issue
Block a user