Excluding preview updates (#1580)

This commit is contained in:
WBHarry 2026-01-25 16:21:32 +01:00 committed by GitHub
parent ce96ffa0a3
commit f1ebb7d1e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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