Skip to content

Commit 37d5595

Browse files
committed
Merge branch 'feat/adjust-font-size' of https://github.com/elianiva/Roo-Code into feat/adjust-font-size
2 parents 647ed6b + ff6c500 commit 37d5595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/activate/registerCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const getCommandsMap = ({ context, outputChannel, provider }: RegisterCommandOpt
242242
decreaseFontSize: async () => {
243243
const config = vscode.workspace.getConfiguration(Package.name)
244244
const currentMultiplier = config.get<number>("fontSizeMultiplier") || 1.0
245-
const newMultiplier = Math.min(Math.round((currentMultiplier - 0.1) * 10) / 10, 3.0)
245+
const newMultiplier = Math.max(Math.round((currentMultiplier - 0.1) * 10) / 10, 0.5)
246246

247247
await config.update("fontSizeMultiplier", newMultiplier, vscode.ConfigurationTarget.Global)
248248
},

0 commit comments

Comments
 (0)