Excluding preview updates

This commit is contained in:
WBHarry 2026-01-25 15:44:00 +01:00
parent c42f876d4f
commit cd6266c81a

View file

@ -423,8 +423,8 @@ Hooks.on('targetToken', () => {
debouncedRangeEffectCall();
});
Hooks.on('refreshToken', (_, options) => {
if (options.refreshPosition) {
Hooks.on('refreshToken', (token, options) => {
if (options.refreshPosition && !token._original) {
debouncedRangeEffectCall();
}
});