set button state when choosing with right-click
This commit is contained in:
@@ -306,7 +306,11 @@ $.contextMenu({
|
||||
build: function($triggerElement, e){
|
||||
// when right-clicking & no selection add one OR deal with ctrl/shift right-lick as it always changes seln
|
||||
if( NoSel() || e.ctrlKey || e.shiftKey )
|
||||
{
|
||||
DoSel(e, e.currentTarget )
|
||||
SetButtonState();
|
||||
}
|
||||
|
||||
|
||||
if( FiguresOrDirsOrBoth() == "figure" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user