Commit 985bf151 authored by Akikonata's avatar Akikonata

iconposition

parent 3d7f6dd6
...@@ -44,7 +44,9 @@ KityMinder.registerModule( "IconModule", function () { ...@@ -44,7 +44,9 @@ KityMinder.registerModule( "IconModule", function () {
} }
if ( val < 5 ) d.close(); if ( val < 5 ) d.close();
_percent.fill( "#29A6BD" ); _percent.fill( "#29A6BD" );
_rc.setTranslate( _contRc.getWidth() / 2, 0 ); var pre = node.getData( "PriorityIcon" );
if ( !pre ) _rc.setTranslate( _contRc.getWidth() - _rc.getWidth() / 2, 0 );
else _rc.setTranslate( _contRc.getWidth() + _rc.getWidth() / 2, 0 );
}; };
var setPriorityCommand = kity.createClass( "SetPriorityCommand", ( function () { var setPriorityCommand = kity.createClass( "SetPriorityCommand", ( function () {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment