- improved system alias re-naming input, closed #353
This commit is contained in:
@@ -514,11 +514,10 @@ define([
|
||||
*/
|
||||
var initCharacterAnimation = function(imageWrapperElement){
|
||||
|
||||
imageWrapperElement.velocity('stop').delay(300).velocity('transition.flipBounceXIn', {
|
||||
imageWrapperElement.velocity('stop').velocity('transition.flipBounceXIn', {
|
||||
display: 'inline-block',
|
||||
stagger: 60,
|
||||
drag: true,
|
||||
duration: 600
|
||||
duration: 500
|
||||
});
|
||||
|
||||
// Hover effect for character info layer
|
||||
@@ -528,7 +527,7 @@ define([
|
||||
characterInfoElement.velocity('finish').velocity({
|
||||
width: ['100%', [ 400, 15 ] ]
|
||||
},{
|
||||
easing: 'easeInSine'
|
||||
easing: 'easeOutSine'
|
||||
});
|
||||
}, function(e){
|
||||
var characterInfoElement = $(this).find('.' + config.characterImageInfoClass);
|
||||
@@ -537,7 +536,7 @@ define([
|
||||
width: 0
|
||||
},{
|
||||
duration: 150,
|
||||
easing: 'easeInOutSine'
|
||||
easing: 'easeOutSine'
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1067,6 +1067,17 @@ define([
|
||||
// system alias changed -> mark system as updated
|
||||
system.markAsChanged();
|
||||
});
|
||||
|
||||
headElement.on('shown', function(e, editable) {
|
||||
var inputElement = editable.input.$input.select();
|
||||
|
||||
// "fake" timeout until dom rendered
|
||||
setTimeout(function(input){
|
||||
// pre-select value
|
||||
input.select();
|
||||
}, 0, inputElement);
|
||||
});
|
||||
console.log(system);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -514,11 +514,10 @@ define([
|
||||
*/
|
||||
var initCharacterAnimation = function(imageWrapperElement){
|
||||
|
||||
imageWrapperElement.velocity('stop').delay(300).velocity('transition.flipBounceXIn', {
|
||||
imageWrapperElement.velocity('stop').velocity('transition.flipBounceXIn', {
|
||||
display: 'inline-block',
|
||||
stagger: 60,
|
||||
drag: true,
|
||||
duration: 600
|
||||
duration: 500
|
||||
});
|
||||
|
||||
// Hover effect for character info layer
|
||||
@@ -528,7 +527,7 @@ define([
|
||||
characterInfoElement.velocity('finish').velocity({
|
||||
width: ['100%', [ 400, 15 ] ]
|
||||
},{
|
||||
easing: 'easeInSine'
|
||||
easing: 'easeOutSine'
|
||||
});
|
||||
}, function(e){
|
||||
var characterInfoElement = $(this).find('.' + config.characterImageInfoClass);
|
||||
@@ -537,7 +536,7 @@ define([
|
||||
width: 0
|
||||
},{
|
||||
duration: 150,
|
||||
easing: 'easeInOutSine'
|
||||
easing: 'easeOutSine'
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
@@ -1067,6 +1067,17 @@ define([
|
||||
// system alias changed -> mark system as updated
|
||||
system.markAsChanged();
|
||||
});
|
||||
|
||||
headElement.on('shown', function(e, editable) {
|
||||
var inputElement = editable.input.$input.select();
|
||||
|
||||
// "fake" timeout until dom rendered
|
||||
setTimeout(function(input){
|
||||
// pre-select value
|
||||
input.select();
|
||||
}, 0, inputElement);
|
||||
});
|
||||
console.log(system);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -83,6 +83,15 @@ em{
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
// text selection =================================================================================
|
||||
::selection{
|
||||
background: $gray-lighter; /* WebKit/Blink Browsers */
|
||||
color: $gray-darkest;
|
||||
}
|
||||
::-moz-selection{
|
||||
background: $gray-lighter; /* Gecko Browsers */
|
||||
color: $gray-darkest;
|
||||
}
|
||||
// help elements ==================================================================================
|
||||
.pf-help{
|
||||
cursor: pointer; // fallback
|
||||
|
||||
Reference in New Issue
Block a user