summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
59a0fba)
This does not completely eliminate the jank. :(
display_filename = zoom + files[input_index];
}
var $pic = $("#pic");
display_filename = zoom + files[input_index];
}
var $pic = $("#pic");
+ $pic.on("load", function() {
+ $pic.removeClass("rot90 rot180 rot270");
+ if ("rotate" in picinfo[files[input_index]]) {
+ $pic.addClass("rot" + picinfo[files[input_index]].rotate);
+ }
+ });
$pic.attr("src", display_filename);
$pic.attr("src", display_filename);
- $pic.removeClass("rot90 rot180 rot270");
- if ("rotate" in picinfo[files[input_index]]) {
- $pic.addClass("rot" + picinfo[files[input_index]].rotate);
- }
}
function say(message) {
}
function say(message) {