alt-devtool
alt-devtool copied to clipboard
Update available size and re-render when tool window was resized
trafficstars
When the dev tool is launched in an undocked window with a given size, it uses that size for his own rendering space, but it doesn't update that when you resize the window, e.g. make it larger / full screen:
Is there a resize event I can listen to to force a render?
Hmm not sure - never did devtools development. So you don't have a window object in there?
Btw of course this isn't a serious Problem - i thought it's as easy as window.addEventListener('resize', () => this.forceUpdate()), if it's not that trivial, let's just close the issue and ignore the Problem :)