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:
parent
a1bee99d8e
commit
202074e391
3 changed files with 11 additions and 22 deletions
|
|
@ -17,7 +17,7 @@ export class ApiEventRepository {
|
|||
private apiEndpoint: string;
|
||||
|
||||
constructor(config: Configuration) {
|
||||
this.apiEndpoint = config.apiEndpoint || '/api';
|
||||
this.apiEndpoint = config.apiEndpoint;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue