fix(Map): Routes - hide user routes btn from context if subscriptions is not active or widget is closed. Also now hidden widget will show again in place where it was on moment of hide (except cases when screen size has changed.

This commit is contained in:
achichenkov
2025-05-17 09:22:34 +03:00
parent 9155515082
commit acf35f8c51
6 changed files with 72 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ export const DEFAULT_WIDGETS: WindowProps[] = [
},
{
id: WidgetsIds.userRoutes,
position: { x: 10, y: 530 },
position: { x: 10, y: 10 },
size: { width: 510, height: 200 },
zIndex: 0,
content: () => <WRoutesUser />,