Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix map centering && add offset params #16

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Conversation

duszmox
Copy link
Contributor

@duszmox duszmox commented Apr 12, 2024

No description provided.

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
indulasch-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 11:34am
indulasch-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 11:34am
indulasch-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 11:34am

Comment on lines 53 to 64
left:
-760 * devicePixelRatio +
1050 * (devicePixelRatio / 2 - 1) +
(devicePixelRatio > 1.75 ? 120 : 160) *
(config.grid.column.end - config.grid.column.start - 1) *
devicePixelRatio +
Number(config.xOffset), // haha, fix nem ták :DDD
top:
-300 * devicePixelRatio +
210 * (devicePixelRatio / 2 - 1) +
70 * (config.grid.row.end - config.grid.row.start - 1) * devicePixelRatio +
Number(config.yOffset),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ezt ki tudnád szervezni változókba? Lehet szebb lenne mint inline

}}
></IFrameContainer>
></IFrameContainer>{' '}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ez itt nem biztos hogy kell

@berenteb berenteb merged commit 4d89aa8 into main Apr 13, 2024
10 checks passed
@berenteb berenteb deleted the fix/map-centering-bug branch April 13, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants