Skip to content

Commit

Permalink
fix #225
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Apr 17, 2022
1 parent c43c0c6 commit 119a455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .vim/coc-settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"FSharp.AutomaticWorkspaceInit": true
}
5 changes: 2 additions & 3 deletions ViewModels/GridViewModel.fs
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,10 @@ and GridViewModel(_gridid: int, ?_parent: GridViewModel, ?_gridsize: GridSize) a
m_is_hidden <- false
let grid = _gridid
#if DEBUG
trace _gridid "setWinPos: grid = %A, parent = %A, startrow = %A, startcol = %A, r = %A, c = %A" grid m_parent.Value.GridId startrow startcol r c
trace _gridid "setWinPos: grid = %A, parent = %A, startrow = %A, startcol = %A, r = %A, c = %A oldRegion = %A newRegion = %A" grid m_parent.Value.GridId startrow startcol r c oldRegion newRegion
#endif
this.Focusable <- f
// XXX actually we want to notify root
m_parent.Value.OnChildChanged oldRegion newRegion
getRootGrid().OnChildChanged oldRegion newRegion

let setMsgWinPos startrow scrolled sep_char =
setAnchor NorthWest -1
Expand Down

0 comments on commit 119a455

Please sign in to comment.