Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Problem with sort inventory


4peppe

Question

Hello everyone, as the title suggests, I have a problem with this system (Link to system) when I have the mouse on the button, and I press the I to close the inventory, the tooltip remains open, I have to move the mouse from the button and close the inventory to do so that doesn't happen. It's a small bug but I want to fix it, can someone help me?

Spoiler

spacer.pngspacer.png

I think the cause is this file: root/uiinventory.py, exactly this part:

		if app.ENABLE_SORT_INVEN and self.tooltipInfo:
			for i in xrange(len(self.tooltipInfo)):
				if self.yenilebutton.IsIn():
					self.tooltipInfo[i].Show()
				else:
					self.tooltipInfo[i].Hide()

Because would I have to put it in "def OnUpdate (self) :", it's just not there so I created this def

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.