Fixed double click bug on legend/editor panel open/close

Ignore contents of .idea directory