@@ -15,7 +15,6 @@ import { handleNewTask } from "./handleTask"
1515import { CodeIndexManager } from "../services/code-index/manager"
1616import { importSettingsWithFeedback } from "../core/config/importExport"
1717import { MdmService } from "../services/mdm/MdmService"
18- import { t } from "../i18n"
1918
2019/**
2120 * Helper to get the visible ClineProvider instance or log if not found.
@@ -239,31 +238,13 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
239238 const newMultiplier = Math . min ( Math . round ( ( currentMultiplier + 0.1 ) * 10 ) / 10 , 3.0 )
240239
241240 await config . update ( "fontSizeMultiplier" , newMultiplier , vscode . ConfigurationTarget . Global )
242-
243- const visibleProvider = getVisibleProviderOrLog ( outputChannel )
244- if ( visibleProvider ) {
245- visibleProvider . postMessageToWebview ( {
246- type : "action" ,
247- action : "fontSizeChanged" ,
248- fontSizeMultiplier : newMultiplier ,
249- } )
250- }
251241 } ,
252242 decreaseFontSize : async ( ) => {
253243 const config = vscode . workspace . getConfiguration ( Package . name )
254244 const currentMultiplier = config . get < number > ( "fontSizeMultiplier" ) || 1.0
255245 const newMultiplier = Math . min ( Math . round ( ( currentMultiplier - 0.1 ) * 10 ) / 10 , 3.0 )
256246
257247 await config . update ( "fontSizeMultiplier" , newMultiplier , vscode . ConfigurationTarget . Global )
258-
259- const visibleProvider = getVisibleProviderOrLog ( outputChannel )
260- if ( visibleProvider ) {
261- visibleProvider . postMessageToWebview ( {
262- type : "action" ,
263- action : "fontSizeChanged" ,
264- fontSizeMultiplier : newMultiplier ,
265- } )
266- }
267248 } ,
268249} )
269250
0 commit comments