Closed liana-yang closed 8 years ago
@yubowenok You can review this pr now.
Can we prevent the canvas from being larger than the view when resizing to a smaller size? One possible solution would be to scale the canvas during the view resize, but without a redraw (Or even simpler, you can just truncate the canvas during resizing).
This css might work for the purpose.
.view {
overflow: hidden;
}
However, I'm not sure if there will be any side effects somewhere else.
@yubowenok It works well.
LGTM
Performance:
Bugs: