aboutsummaryrefslogtreecommitdiff
path: root/commands/commands.go
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2019-07-23 20:03:14 +0100
committerDrew DeVault <sir@cmpwn.com>2019-07-25 18:12:00 -0400
commit1cf90897f74f7f727710a9e61e9c835a040918bf (patch)
tree9615c736daf8596d45d728d37690696681ba2570 /commands/commands.go
parent2f626ddd18e8472e0ddc2bb9013b7d01c1b5b9a9 (diff)
Fix grid creating too large subcontexts
The grid was not checking there was enough space for the cells so would just attempt to create subcontexts that don't actually fit. This attempts to use the remaining space and then if there is no space then it just skips drawing this cell.
Diffstat (limited to 'commands/commands.go')
0 files changed, 0 insertions, 0 deletions