updateBehavior method
Update the input behavior for a visible palette.
Implementation
Future<void> updateBehavior(String id, InputBehavior behavior) async {
if (!_visiblePalettes.containsKey(id)) return;
// Re-register with new behavior
await unregisterPalette(id);
await registerPalette(id, behavior);
}