Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ Jeff Dyer
Till Schneidereit <tschneidereit@mozilla.com>
Jet Villegas <jet@mozilla.com>
Claus Wahlers <cwahlers@mozilla.com>
ExE Boss
4 changes: 2 additions & 2 deletions src/gfx/2d/2d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ module Shumway.GFX.Canvas2D {
var region = mipMapLevelSurfaceRegion.region;
if (mipMapLevel) {
var context = state.target.context;
context.imageSmoothingEnabled = context.mozImageSmoothingEnabled = true;
context.imageSmoothingEnabled = true;
context.setTransform(matrix.a, matrix.b, matrix.c, matrix.d, matrix.tx, matrix.ty);
context.drawImage (
mipMapLevelSurfaceRegion.surface.canvas,
Expand Down Expand Up @@ -844,7 +844,7 @@ module Shumway.GFX.Canvas2D {

this._frameInfo.shapes ++;

context.imageSmoothingEnabled = context.mozImageSmoothingEnabled = state.hasFlags(RenderFlags.ImageSmoothing);
context.imageSmoothingEnabled = state.hasFlags(RenderFlags.ImageSmoothing);

var renderCount = node.properties["renderCount"] || 0;
var cacheShapesMaxSize = this._options.cacheShapesMaxSize;
Expand Down
1 change: 0 additions & 1 deletion src/gfx/references-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ interface CanvasRenderingContext2D {
stroke(path: Path2D): void;

imageSmoothingEnabled: boolean
mozImageSmoothingEnabled: boolean

fillRule: string;
mozFillRule: string;
Expand Down
4 changes: 1 addition & 3 deletions src/gfx/renderables/renderables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,7 @@ module Shumway.GFX {
enterTimeline("RenderableShape.render", this);
for (var i = 0; i < paths.length; i++) {
var path = paths[i];
context['mozImageSmoothingEnabled'] = context.msImageSmoothingEnabled =
context['imageSmoothingEnabled'] =
path.smoothImage;
context.imageSmoothingEnabled = path.smoothImage;
if (path.type === PathType.Fill) {
if (clipPath) {
clipPath.addPath(path.path, (<any>context).currentTransform);
Expand Down
2 changes: 1 addition & 1 deletion utils/update-flash-refs.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function packageRefs(includes, output, license) {
'\n';
});
var content = '', included = {};
refs.split('\n').forEach(function (entry) {
refs.split(/\r\n|\r|\n/).forEach(function (entry) {
if (entry.trim() === '') {
return;
}
Expand Down