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

Geyser Window creation broken when createLabel() has been patched #3393

Closed
K1ngSpad3z opened this issue Mar 9, 2020 · 1 comment
Closed

Geyser Window creation broken when createLabel() has been patched #3393

K1ngSpad3z opened this issue Mar 9, 2020 · 1 comment

Comments

@K1ngSpad3z
Copy link

@K1ngSpad3z K1ngSpad3z commented Mar 9, 2020

Brief summary of issue / Description of requested feature:

Steps to reproduce the issue / Reasons for adding feature:

  1. Add this to a script:
  local oldCL = createLabel
  function createLabel(name, posX, posY, width, height, fillBackground)
    oldCL(name, 0, 0, 0, 0, fillBackground)
    moveWindow(name, posX, posY)
    resizeWindow(name, width, height)
  end
  1. Create a label:
testlabel = Geyser.Label:new({
  name = "testlabel",
  x = "50%", y = 0,
  width = "50%", height = "100%",
  fgColor = "black",
  color = "SeaGreen",
  message = [[<center>heey</center>]]
})
  1. Observe no label is created.

Error output / Expected result of feature

Label should be created.

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

Mudlet 4.6.0

@vadi2 vadi2 changed the title Geyser Window creations Geyser Window creation broken when createLabel() has been patched Mar 9, 2020
@vadi2

This comment has been minimized.

Copy link
Member

@vadi2 vadi2 commented Mar 9, 2020

Fixed in 4.6.1.

@vadi2 vadi2 closed this Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.