set button state when choosing with right-click

This commit is contained in:
2021-10-02 14:47:59 +10:00
parent 9c47d4c15b
commit fea5ae6c7d

View File

@@ -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" )
{