Selecting RibbonTool.None deactivates plugin?

I have plugin activated with exclusive mouse, and each time i clear RibbonTool is deactivates the plugin mouse.

roblox-ts:

print("Toggling zone edit mode to:", mode);
print("NOW", GetPlugin().IsActivated(), GetPlugin().IsActivatedWithExclusiveMouse());

if (mode !== ZoneResources.EZoneEditMode.None) {
	GetPlugin().SelectRibbonTool(Enum.RibbonTool.None, new UDim2());
	print("Delayed", GetPlugin().IsActivated(), GetPlugin().IsActivatedWithExclusiveMouse());
}

Output:

  Toggling zone edit mode to: 1
  NOW true true
  Delayed false false

actually selecting any ribbon tool deactivates the plugin

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.