Skip to content

Commit 119a455

Browse files
author
Yatao Li
committed
fix #225
1 parent c43c0c6 commit 119a455

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.vim/coc-settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
{
2+
"FSharp.AutomaticWorkspaceInit": true
23
}

ViewModels/GridViewModel.fs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,11 +361,10 @@ and GridViewModel(_gridid: int, ?_parent: GridViewModel, ?_gridsize: GridSize) a
361361
m_is_hidden <- false
362362
let grid = _gridid
363363
#if DEBUG
364-
trace _gridid "setWinPos: grid = %A, parent = %A, startrow = %A, startcol = %A, r = %A, c = %A" grid m_parent.Value.GridId startrow startcol r c
364+
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
365365
#endif
366366
this.Focusable <- f
367-
// XXX actually we want to notify root
368-
m_parent.Value.OnChildChanged oldRegion newRegion
367+
getRootGrid().OnChildChanged oldRegion newRegion
369368

370369
let setMsgWinPos startrow scrolled sep_char =
371370
setAnchor NorthWest -1

0 commit comments

Comments
 (0)