Refactors resize and position utility handling

Extracts position calculation logic into a separate utility class

Introduces PositionUtils to centralize pixel and minute conversion methods
Removes redundant calculation methods from ResizeHandleManager
Updates Configuration to include default API endpoint

Simplifies resize and height management across components
This commit is contained in:
Janus C. H. Knudsen 2025-11-05 21:53:08 +01:00
parent a1bee99d8e
commit 202074e391
3 changed files with 11 additions and 22 deletions

View file

@ -17,7 +17,7 @@ export class ApiEventRepository {
private apiEndpoint: string;
constructor(config: Configuration) {
this.apiEndpoint = config.apiEndpoint || '/api';
this.apiEndpoint = config.apiEndpoint;
}
/**