Commit Graph

6 Commits (6342a117ff281f4ab24729d5d375e80e4d2f52f5)

Author SHA1 Message Date
Pierre Ossman c211f31113 Remove pointless Display.clear()
It served no meaningful purpose and it had bugs. So let's remove it
rather than try to fix it.
4 years ago
Pierre Ossman 4cc536636a Remove unused Display.logo attribute 4 years ago
Samuel Mannehed 12565dc4ac Allow autoscale() with zero height or width
Commit 6e7e6f9 stopped the function from running if width or height was
zero, this commit reverts that change. This commit also makes the
resulting canvas 0x0 if autoscale is called with zero. By adding this
special case we can avoid division by zero in the calculations.
4 years ago
Samuel Mannehed 79ab05192b Add check for bad values for Display.autoscale() 4 years ago
Juanjo Diaz 37c17ddbf9 Move support check from display to browser 4 years ago
matt 408c005d3e Initial commit 5 years ago