Add XS pen size and make it the default

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-08-12 13:43:19 -04:00
parent 1a586db785
commit b4ccc15f98
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1321,7 +1321,7 @@ const App = () => {
); // 'stacked' | 'split' | 'annotate' ); // 'stacked' | 'split' | 'annotate'
const [drawTool, setDrawTool] = useState('pen'); const [drawTool, setDrawTool] = useState('pen');
const [drawColor, setDrawColor] = useState('#0f172a'); const [drawColor, setDrawColor] = useState('#0f172a');
const [drawSize, setDrawSize] = useState(0.012); const [drawSize, setDrawSize] = useState(0.003);
const [activeStudyTab, setActiveStudyTab] = useState( const [activeStudyTab, setActiveStudyTab] = useState(
() => localStorage.getItem('activeStudyTab') || 'notes', () => localStorage.getItem('activeStudyTab') || 'notes',
); );
+1
View File
@@ -4,6 +4,7 @@ import { renderInkToCanvas } from '../utils/inkRender.js';
const INK_COLORS = ['#0f172a', '#ef4444', '#3b82f6', '#16a34a', '#f59e0b', '#a855f7']; const INK_COLORS = ['#0f172a', '#ef4444', '#3b82f6', '#16a34a', '#f59e0b', '#a855f7'];
const INK_SIZES = [ const INK_SIZES = [
{ label: 'XS', value: 0.003 },
{ label: 'S', value: 0.006 }, { label: 'S', value: 0.006 },
{ label: 'M', value: 0.012 }, { label: 'M', value: 0.012 },
{ label: 'L', value: 0.025 }, { label: 'L', value: 0.025 },