File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ type Cursor() as this =
90
90
(* reconfigure the cursor *)
91
91
showCursor true
92
92
cursorTimerRun blinkon this.ViewModel.blinkwait
93
- this.InvalidateVisual()
93
+ // this.InvalidateVisual()
94
94
95
95
let setCursorAnimation () =
96
96
let transitions = Transitions()
@@ -113,17 +113,16 @@ type Cursor() as this =
113
113
transitions.Add( y_ transition)
114
114
trace " cursor" " setCursorAnimation: blink=%b , move=%b " States.cursor_ smoothblink States.cursor_ smoothmove
115
115
this.Transitions <- transitions
116
- this.Transitions |> ignore
116
+ ()
117
117
118
118
do
119
119
this.Watch [
120
120
this.OnRenderTick cursorConfig
121
121
this.GetObservable( IsActiveProperty)
122
- |> Observable.subscribe( fun v ->
122
+ |> Observable.subscribe( fun _ ->
123
123
setCursorAnimation()
124
124
this.InvalidateVisual())
125
125
States.Register.Watch " cursor" setCursorAnimation
126
-
127
126
]
128
127
AvaloniaXamlLoader.Load( this)
129
128
You can’t perform that action at this time.
0 commit comments