TheDesk Airi (ver.9)

This commit is contained in:
cutls
2018-03-27 11:39:35 +09:00
parent a84a1da29b
commit d3a8302e46
43 changed files with 2703 additions and 5621 deletions

View File

@@ -109,6 +109,17 @@ $(function($) {
return false;
}
}
//数字:TL
if (event.ctrlKey) {
if (e.keyCode >= 49 && e.keyCode <= 57) {
var kz=e.keyCode-49;
if($('[tlid='+kz+']').length){
console.log($('[tlid='+kz+']').offset().left);
$("#timeline-container").animate({scrollLeft:$("#timeline-container").scrollLeft()+$('[tlid='+kz+']').offset().left});
}
return false;
}
}
}
//textareaフォーカス時
if (hasFocus2) {
@@ -153,4 +164,4 @@ $(function($) {
$("#clear").click(function() {
clear();
});
});
});