Update build files
This commit is contained in:
parent
b47b0e9225
commit
70cfb27e61
7 changed files with 23 additions and 23 deletions
|
|
@ -15220,11 +15220,11 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
//@todo I would like to make this animation a setting. How?
|
//@todo I would like to make this animation a setting. How?
|
||||||
|
|
||||||
var STEPS = 10;
|
var STEPS = 15;
|
||||||
function calcSteps(fromValue, toValue){
|
function calcSteps(fromValue, toValue){
|
||||||
var i = 0,
|
var i = 0,
|
||||||
l = STEPS - 1,
|
l = STEPS,
|
||||||
steps = [fromValue],
|
steps = [],
|
||||||
func = function(t, x_min, dx) {
|
func = function(t, x_min, dx) {
|
||||||
if ((t /= .5) < 1)
|
if ((t /= .5) < 1)
|
||||||
return dx / 2 * Math.pow(t, 3) + x_min;
|
return dx / 2 * Math.pow(t, 3) + x_min;
|
||||||
|
|
@ -15245,12 +15245,12 @@ var VirtualRenderer = function(container, theme) {
|
||||||
offset -= this.$size.scrollerHeight / 2;
|
offset -= this.$size.scrollerHeight / 2;
|
||||||
|
|
||||||
var i = 0, _self = this,
|
var i = 0, _self = this,
|
||||||
steps = calcSteps(this.scrollTop, offset);
|
steps = calcSteps(this.scrollTop, offset);// console.dir(steps);
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
this.$timer = setInterval(function(){
|
this.$timer = setInterval(function(){
|
||||||
_self.session.setScrollTop(steps[i]);
|
_self.session.setScrollTop(steps[i]);
|
||||||
|
|
||||||
if (++i == STEPS)
|
if (++i == STEPS + 1)
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
}, 10);
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
Ace
|
Ace
|
||||||
version 0.2.0
|
version 0.2.0
|
||||||
commit 5ebed0aadbe9294478807a22324938099fb1ef4a
|
commit b47b0e9225814c5b86de1804ce0de3e46d8218ec
|
||||||
|
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -12516,11 +12516,11 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
//@todo I would like to make this animation a setting. How?
|
//@todo I would like to make this animation a setting. How?
|
||||||
|
|
||||||
var STEPS = 10;
|
var STEPS = 15;
|
||||||
function calcSteps(fromValue, toValue){
|
function calcSteps(fromValue, toValue){
|
||||||
var i = 0,
|
var i = 0,
|
||||||
l = STEPS - 1,
|
l = STEPS,
|
||||||
steps = [fromValue],
|
steps = [],
|
||||||
func = function(t, x_min, dx) {
|
func = function(t, x_min, dx) {
|
||||||
if ((t /= .5) < 1)
|
if ((t /= .5) < 1)
|
||||||
return dx / 2 * Math.pow(t, 3) + x_min;
|
return dx / 2 * Math.pow(t, 3) + x_min;
|
||||||
|
|
@ -12541,12 +12541,12 @@ var VirtualRenderer = function(container, theme) {
|
||||||
offset -= this.$size.scrollerHeight / 2;
|
offset -= this.$size.scrollerHeight / 2;
|
||||||
|
|
||||||
var i = 0, _self = this,
|
var i = 0, _self = this,
|
||||||
steps = calcSteps(this.scrollTop, offset);
|
steps = calcSteps(this.scrollTop, offset);// console.dir(steps);
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
this.$timer = setInterval(function(){
|
this.$timer = setInterval(function(){
|
||||||
_self.session.setScrollTop(steps[i]);
|
_self.session.setScrollTop(steps[i]);
|
||||||
|
|
||||||
if (++i == STEPS)
|
if (++i == STEPS + 1)
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
}, 10);
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12516,11 +12516,11 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
//@todo I would like to make this animation a setting. How?
|
//@todo I would like to make this animation a setting. How?
|
||||||
|
|
||||||
var STEPS = 10;
|
var STEPS = 15;
|
||||||
function calcSteps(fromValue, toValue){
|
function calcSteps(fromValue, toValue){
|
||||||
var i = 0,
|
var i = 0,
|
||||||
l = STEPS - 1,
|
l = STEPS,
|
||||||
steps = [fromValue],
|
steps = [],
|
||||||
func = function(t, x_min, dx) {
|
func = function(t, x_min, dx) {
|
||||||
if ((t /= .5) < 1)
|
if ((t /= .5) < 1)
|
||||||
return dx / 2 * Math.pow(t, 3) + x_min;
|
return dx / 2 * Math.pow(t, 3) + x_min;
|
||||||
|
|
@ -12541,12 +12541,12 @@ var VirtualRenderer = function(container, theme) {
|
||||||
offset -= this.$size.scrollerHeight / 2;
|
offset -= this.$size.scrollerHeight / 2;
|
||||||
|
|
||||||
var i = 0, _self = this,
|
var i = 0, _self = this,
|
||||||
steps = calcSteps(this.scrollTop, offset);
|
steps = calcSteps(this.scrollTop, offset);// console.dir(steps);
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
this.$timer = setInterval(function(){
|
this.$timer = setInterval(function(){
|
||||||
_self.session.setScrollTop(steps[i]);
|
_self.session.setScrollTop(steps[i]);
|
||||||
|
|
||||||
if (++i == STEPS)
|
if (++i == STEPS + 1)
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
}, 10);
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -13021,11 +13021,11 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
//@todo I would like to make this animation a setting. How?
|
//@todo I would like to make this animation a setting. How?
|
||||||
|
|
||||||
var STEPS = 10;
|
var STEPS = 15;
|
||||||
function calcSteps(fromValue, toValue){
|
function calcSteps(fromValue, toValue){
|
||||||
var i = 0,
|
var i = 0,
|
||||||
l = STEPS - 1,
|
l = STEPS,
|
||||||
steps = [fromValue],
|
steps = [],
|
||||||
func = function(t, x_min, dx) {
|
func = function(t, x_min, dx) {
|
||||||
if ((t /= .5) < 1)
|
if ((t /= .5) < 1)
|
||||||
return dx / 2 * Math.pow(t, 3) + x_min;
|
return dx / 2 * Math.pow(t, 3) + x_min;
|
||||||
|
|
@ -13046,12 +13046,12 @@ var VirtualRenderer = function(container, theme) {
|
||||||
offset -= this.$size.scrollerHeight / 2;
|
offset -= this.$size.scrollerHeight / 2;
|
||||||
|
|
||||||
var i = 0, _self = this,
|
var i = 0, _self = this,
|
||||||
steps = calcSteps(this.scrollTop, offset);
|
steps = calcSteps(this.scrollTop, offset);// console.dir(steps);
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
this.$timer = setInterval(function(){
|
this.$timer = setInterval(function(){
|
||||||
_self.session.setScrollTop(steps[i]);
|
_self.session.setScrollTop(steps[i]);
|
||||||
|
|
||||||
if (++i == STEPS)
|
if (++i == STEPS + 1)
|
||||||
clearInterval(_self.$timer);
|
clearInterval(_self.$timer);
|
||||||
}, 10);
|
}, 10);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue