« get me outta code hell

Less-buggy resize detection - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/record-store.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-10-08 11:36:47 -0300
committerFlorrie <towerofnix@gmail.com>2018-10-08 11:36:49 -0300
commit4207cf479f91d4cad9cad5583d069efc8fd24c31 (patch)
tree0700cee83f0581265e93c5d18bf2a6b64ac16375 /record-store.js
parent5f00f624a647fbf7838a5ff1c8d72156ae0ad38f (diff)
Less-buggy resize detection
Moved .on('resize') to be after the flushable is actually created, so we
don't get an error (flushable is not defined) when resizing before the
flushable has been created. Also checked for size only immediately
before we actually display, so that the size is accurate right away.
Diffstat (limited to 'record-store.js')
0 files changed, 0 insertions, 0 deletions