mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
replace bitwise OR with Math.round
This commit is contained in:
@@ -334,7 +334,7 @@
|
||||
* @param {Object} imageData
|
||||
*/
|
||||
Kinetic.Filters.Blur = function(imageData) {
|
||||
var radius = this.blurRadius() | 0;
|
||||
var radius = Math.round(this.blurRadius());
|
||||
|
||||
if (radius > 0) {
|
||||
filterGaussBlurRGBA(imageData, radius);
|
||||
|
||||
Reference in New Issue
Block a user