Skip to content
This repository

webkit antializing fix #28

Open
wants to merge 1 commit into from

1 participant

Artur Sabrov
Artur Sabrov

Small fixes for webkit antializing bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Oct 04, 2011
Artur Sabrov webkit antializing fix 667fecb
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  src/jquery.transform.js
6  src/jquery.transform.js
@@ -191,6 +191,12 @@
191 191
 					values.push(this.createTransformFunc(func, funcs[func]));
192 192
 				}
193 193
 			}
  194
+            
  195
+            // fix webkit antializing
  196
+			if (funcs['rotate'] && transformProperty == '-webkit-transform') {
  197
+				values.push('translateZ(1px)'); 
  198
+			}
  199
+            
194 200
 			this.$elem.css(transformProperty, values.join(' '));
195 201
 			return true;
196 202
 		},
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.