File tree Expand file tree Collapse file tree
packages/tokens-studio-for-figma/src/plugin/asyncMessageHandlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { getThemeReferences } from './getThemeReferences';
99import { defaultTokenValueRetriever } from '../TokenValueRetriever' ;
1010import { TokenFormatOptions } from '../TokenFormatStoreClass' ;
1111import { ApplyVariablesStylesOrRawValues } from '@/constants/ApplyVariablesStyleOrder' ;
12+ import { UpdateMode } from '@/constants/UpdateMode' ;
1213import updateStyles from '../updateStyles' ;
1314
1415export const update : AsyncMessageChannelHandlers [ AsyncMessageTypes . UPDATE ] = async ( msg ) => {
@@ -50,6 +51,7 @@ export const update: AsyncMessageChannelHandlers[AsyncMessageTypes.UPDATE] = asy
5051
5152 allWithData = await defaultNodeManager . findBaseNodesWithData ( {
5253 updateMode : msg . settings . updateMode ,
54+ nodesWithoutPluginData : msg . settings . updateMode === UpdateMode . SELECTION ,
5355 } ) ;
5456
5557 await updateNodes ( allWithData , String ( msg . settings . baseFontSize || 16 ) ) ;
You can’t perform that action at this time.
0 commit comments