Skip to content

Commit 0d05862

Browse files
committed
remove_on_open_overlay_method_from_smart_view_class_to_streamline_codebase
1 parent bd8f448 commit 0d05862

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

smart-view/smart_view.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,6 @@ export class SmartView {
159159
`${attributes}\n></div>`;
160160
}
161161

162-
/**
163-
* Handles the smooth transition effect when opening overlays.
164-
* @param {HTMLElement} overlay_container - The overlay container element.
165-
*/
166-
on_open_overlay(overlay_container) {
167-
overlay_container.style.transition = 'background-color 0.5s ease-in-out';
168-
overlay_container.style.backgroundColor = 'var(--bold-color)';
169-
setTimeout(() => {
170-
overlay_container.style.backgroundColor = '';
171-
}, 500);
172-
}
173-
174162
/**
175163
* Renders settings from a config, returning a fragment.
176164
* @async

0 commit comments

Comments
 (0)