Release 1.0 #3

Merged
LukeGus merged 57 commits from release-1.0 into main 2024-12-13 00:46:43 +00:00
Showing only changes of commit ea2343551d - Show all commits

View File

@@ -57,7 +57,7 @@ const App = () => {
const newZoomFactor = Math.max(0.5, Math.min(2, containerHeight / 300)); // Adjust this logic as needed
if (zoomFactor !== newZoomFactor) {
setZoomFactor(newZoomFactor);
terminal.current.setOption('fontSize', 14 * newZoomFactor); // Adjust font size based on zoom
terminal.current.setFontSize(14 * newZoomFactor); // Corrected font size update
}
};