mirror of
https://github.com/andrewstephens75/as-dithered-image.git
synced 2026-04-14 12:29:30 -07:00
Remove logging
This commit is contained in:
@@ -265,8 +265,6 @@ class ASDitheredImage extends HTMLElement {
|
|||||||
const calculatedHeight = Math.round(rect.height * screenPixelsToBackingStorePixels)
|
const calculatedHeight = Math.round(rect.height * screenPixelsToBackingStorePixels)
|
||||||
let adjustedPixelSize = Math.round(screenPixelsToBackingStorePixels * this.crunchFactor_)
|
let adjustedPixelSize = Math.round(screenPixelsToBackingStorePixels * this.crunchFactor_)
|
||||||
|
|
||||||
console.log("cunch: ", this.crunchFactor_, " adjustedPixelSize : ", adjustedPixelSize)
|
|
||||||
|
|
||||||
// double check - we may have already painted this image
|
// double check - we may have already painted this image
|
||||||
if ((this.last_draw_state_.width == calculatedWidth) &&
|
if ((this.last_draw_state_.width == calculatedWidth) &&
|
||||||
(this.last_draw_state_.height == calculatedHeight) &&
|
(this.last_draw_state_.height == calculatedHeight) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user