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

Moving and Resizing formats not working in this context of code. #2356

Open
Jaren222 opened this issue Feb 12, 2019 · 0 comments
Open

Moving and Resizing formats not working in this context of code. #2356

Jaren222 opened this issue Feb 12, 2019 · 0 comments

Comments

@Jaren222
Copy link

Jaren222 commented Feb 12, 2019

Brief summary of issue / Description of requested feature:

When using resize and move certain formats are displaying the text and working while others are not. The full code is included.

Resizing and moving work with these in this code context:
Occupants:move(width, height)
Occupants:resize(width, height)

But these do not work, the window does not move or resize and the text does not display:
moveWindow("Occupants", width, height)
resizeWindow("Occupants", width, height)

Steps to reproduce the issue / Reasons for adding feature:

  1. Copy the included alias into Mudlet
    Resize and Move Test2.txt
    1a. (edit) You need to set a variable to occwindowopen = 0 for it to work on the first run. Can be run from the input line (lua occwindowopen = 0)
  2. Test out the alias with 'go1' repeatably to make sure the miniconsole appears at the bottom left and the different random text strings work.
  3. Comment out lines 56 and 57 and uncomment lines 58 and 59. This will change from one resize and move format to the other, as mentioned above.
  4. Run the alias again and the miniconsole will not show the included text nor will it resize.

Error output / Expected result of feature

Either method of resizing and moving should work.

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

Mudlet Version: 3.17.1
OS: Windows 7
Something done in this context of code is stopping the other resize/move methods from working. Not sure what.
(Edit) Also note that when the first method is used repeatably the search bar portion of the main window will vanish.

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

No branches or pull requests

1 participant