Work>review and tool panes; panes re-sync their size; the Work pane follows the Board again
This commit is contained in:
@@ -63,7 +63,7 @@ func newRepairModel(c *paperclip.Client, folder string) repairModel {
|
||||
}
|
||||
|
||||
func (m repairModel) Init() tea.Cmd {
|
||||
return tea.Batch(m.load(), tickEvery(8*time.Second))
|
||||
return tea.Batch(m.load(), tickEvery(8*time.Second), tea.WindowSize())
|
||||
}
|
||||
|
||||
func (m repairModel) load() tea.Cmd {
|
||||
@@ -194,7 +194,7 @@ func (m repairModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
return m, nil
|
||||
|
||||
case tickMsg:
|
||||
return m, tea.Batch(m.load(), tickEvery(8*time.Second))
|
||||
return m, tea.Batch(m.load(), tickEvery(8*time.Second), tea.WindowSize())
|
||||
|
||||
case tea.KeyMsg:
|
||||
if m.showHelp {
|
||||
|
||||
Reference in New Issue
Block a user