screen_loc="" in Bug Reports
|
|
Resolved
|
Setting screen_loc to "" did not immediately remove an item from the HUD, but only after a delay, unless another HUD object also updated.
|
| BYOND Version: | 493 |
| Operating System: | Windows 7 Pro 64-bit |
| Web Browser: | Chrome 15.0.874.121 |
| Applies to: | Dream Daemon |
|
| Status: |
Resolved (494)
This issue has been resolved.
|
|
|
Descriptive Problem Summary:
Setting an object's screen_loc updates fairly quick, but setting an object's screen_loc to an empty string takes a second or two to update (hide the object).
Edit: If you set screen_loc to a valid value after setting it to an empty string, but before it actually hides the object, it'll still hide it and ignore the new location (once it finally does update). So when setting screen_loc to "" and then a valid location shortly after, the valid location will be ignored once "" finally sets in. So it's not that the process is slow, but is actually delayed/spawned, or so it seems.
Numbered Steps to Reproduce Problem:
1. Add a screen object to the screen.
2. Set object's screen_loc to ""
Expected Results:
For it to update as quickly as a normal screen_loc change.
Actual Results:
Takes a second or two to hide the object.
Note: Setting screen_loc to "" to hide it, but keep it on the screen is very useful, especially when screen_loc changes quite a bit in a short amount of time and also appears and disappears. It's just a little slow when being hidden.
|