Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

chore: remove unused private fields from GuideMeOverlay

Luis Ortizabb8a3fb5e47
diff --git a/src/core/guideme/overlay.ts b/src/core/guideme/overlay.ts
index 69b312d..a3ec44e 100644
--- a/src/core/guideme/overlay.ts
+++ b/src/core/guideme/overlay.ts
@@ -126,9 +126,7 @@ export class GuideMeOverlay {
private targetClickHandler: (() => void) | null = null;
private targetKeyHandler: ((e: KeyboardEvent) => void) | null = null;
private currentTarget: HTMLElement | null = null;
- private currentStep: Step | null = null;
private currentStepIndex = 0;
- private currentTotalSteps = 0;
private screenshotUrl: string | null = null;
private autoAdvanceTimer: ReturnType<typeof setTimeout> | null = null;
private callbacks: GuideMeCallbacks;
@@ -148,9 +146,7 @@ export class GuideMeOverlay {
async show(step: Step, stepIndex: number, totalSteps: number, targetElement: HTMLElement | null): Promise<void> {
this.cleanup();
- this.currentStep = step;
this.currentStepIndex = stepIndex;
- this.currentTotalSteps = totalSteps;
this.currentTarget = targetElement;
if (targetElement) {