Skip to content

Commit ab8661c

Browse files
committed
release: 0.1.2
1 parent 6912a95 commit ab8661c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"vite": "^7.1.0",
4949
"vue": "^3.5.0"
5050
},
51-
"version": "0.1.1",
51+
"version": "0.1.2",
5252
"description": "Local PDF reader with paragraph translation",
5353
"main": "electron/main.mjs",
5454
"engines": {

‎src/features/reader/FormulaOcrRegion.vue‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ onBeforeUnmount(() => {
9494
border-radius: 8px;
9595
border: 1px solid transparent;
9696
opacity: 0;
97-
background: color-mix(in srgb, var(--surface, #f5f5f5) 35%, transparent);
97+
/* Keep the equation readable beneath the hover region, including when the
98+
application reduces transparency for other surfaces. */
99+
background: color-mix(in srgb, var(--surface, #f5f5f5) 20%, transparent);
98100
transition: opacity 140ms ease;
99101
pointer-events: none;
100102
}
@@ -130,7 +132,6 @@ onBeforeUnmount(() => {
130132
width: 16px;
131133
height: 16px;
132134
}
133-
:root[data-reduce-transparency='true'] .formula-ocr-popover,
134135
:root[data-reduce-transparency='true'] .formula-ocr-button {
135136
background: var(--surface, #f5f5f5);
136137
backdrop-filter: none;

0 commit comments

Comments
 (0)