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

[MIRROR] Clicking sub sections in lathes will auto scroll to them #2395

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1430
Original PR: tgstation/tgstation#81933

About The Pull Request

  • Fixes #80931

To answer the question

Would be valid to see if it's actually getting the element. if it is, perhaps the issue is with section

I guess the problem is with the section because getElementByID() requires the div element of the section to actually have an id which we can retrive & scroll to.

I don't like the solution entirely as key & id are redundant and if there was a way to access the key or some other way to access the section without using getElementByID() I'm all up for it.

Changelog

🆑 SyncIt21
fix: Clicking sub sections in the design menu of lathe's UIs will auto scroll to them.
/:cl:

)

* Clicking sub sections in lathes will auto scroll to them (#81933)

## About The Pull Request
- Fixes #80931

To answer the question

> Would be valid to see if it's actually getting the element. if it is,
perhaps the issue is with section

I guess the problem is with the section because `getElementByID()`
requires the `div` element of the section to actually have an `id` which
we can retrive & scroll to.

I don't like the solution entirely as `key` & `id` are redundant and if
there was a way to access the `key` or some other way to access the
section without using `getElementByID()` I'm all up for it.

## Changelog
:cl:
fix: Clicking sub sections in the design menu of lathe's UIs will auto
scroll to them.
/:cl:

* Clicking sub sections in lathes will auto scroll to them

---------

Co-authored-by: SyncIt21 <[email protected]>
@Iajret Iajret merged commit ac0b8cd into master Mar 13, 2024
23 of 24 checks passed
@Iajret Iajret deleted the upstream-mirror-1430 branch March 13, 2024 23:02
AnywayFarus added a commit that referenced this pull request Mar 13, 2024
Iajret pushed a commit that referenced this pull request May 8, 2024
… Box (#2395)

* Removes another rogue cable under a disconnected SMES on Ice Box (#83129)

## About The Pull Request
I'm still surprised this didn't come up in the tests here, but here you
go, now it's fixed properly.
tgstation/tgstation#83059 forgot to notice that
there was actually two rogue wires, not just one!

## Why It's Good For The Game
Less CI failures == happier maintainers

## Changelog

:cl: GoldenAlpharex
fix: Removed another rogue cable from underneath a disconnected SMES.
/:cl:

* Removes another rogue cable under a disconnected SMES on Ice Box

---------

Co-authored-by: GoldenAlpharex <[email protected]>
ReezeBL pushed a commit that referenced this pull request May 9, 2024
… Box (#2395) (#3242)

* Removes another rogue cable under a disconnected SMES on Ice Box (#83129)

## About The Pull Request
I'm still surprised this didn't come up in the tests here, but here you
go, now it's fixed properly.
tgstation/tgstation#83059 forgot to notice that
there was actually two rogue wires, not just one!

## Why It's Good For The Game
Less CI failures == happier maintainers

## Changelog

:cl: GoldenAlpharex
fix: Removed another rogue cable from underneath a disconnected SMES.
/:cl:

* Removes another rogue cable under a disconnected SMES on Ice Box

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: GoldenAlpharex <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants