mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-03 06:22:41 -08:00
refactor: remove invisible subtitle overlay code
This commit is contained in:
@@ -3,8 +3,8 @@ import type { RendererContext } from './context';
|
||||
|
||||
const MEASUREMENT_DEBOUNCE_MS = 80;
|
||||
|
||||
function isMeasurableOverlayLayer(layer: string): layer is 'visible' | 'invisible' {
|
||||
return layer === 'visible' || layer === 'invisible';
|
||||
function isMeasurableOverlayLayer(layer: string): layer is 'visible' {
|
||||
return layer === 'visible';
|
||||
}
|
||||
|
||||
function round2(value: number): number {
|
||||
|
||||
Reference in New Issue
Block a user