|
02-13-2021, 02:47 AM
|
|
The Wary
Forum posts: 0
File comments: 3
Uploads: 0
|
Unable to move icon
I installed HorseStables and plan to install your other shortcuts, but I ran into a problem: I can't move the icon from its initial location. I'm sure it is user error but what am I doing wrong?
EDIT: IT WAS USER ERROR!!!! I figured out that the key was Alt-left click. Thanks for an awesome plugin that I've been looking for for years!
Last edited by Aedros : 02-13-2021 at 03:26 AM.
|
|
|
01-06-2021, 11:20 AM
|
|
The Indomitable
Forum posts: 14
File comments: 357
Uploads: 32
|
Version 1.06
Tappo i have done the changes you proposed me
Thank you very much for your help in this
Happy new year and play well
Homeo
|
|
|
01-06-2021, 07:59 AM
|
|
The Indomitable
Forum posts: 14
File comments: 357
Uploads: 32
|
Re: Fix for clicking on minimized icon
Quote:
Hello,
i would like to propose two changes to the MouseClick in minimized window- the window was toggled everytime i tried to move the icon
wrapping the funcioin inside a check for tresholdTrigger will prevent this
- sometimes when clicking the icon the window would appear below other screen elements
increasing ZOrder by one seems to fix it for me
added lines are shown in red
Code:
self.trigger.MouseClick = function( sender, args )
if not self.thresholdTrigger then
if(settings.isWindowVisible == "false") then
HorseStableWindow:SetVisible(true);
HorseStableWindow:SetZOrder(HorseStableWindow:GetZOrder()+1);
settings.isWindowVisible = true ;
SaveSettings(4);
else
HorseStableWindow:SetVisible(false);
settings.isWindowVisible = false ;
SaveSettings(4);
end
end
end
by the way, why did you change the check to
Code:
settings.isWindowVisible == "false"
in 1.05?
it should be a boolean, what is it that resets it to string?
and last i would add the ZOrder fix to the 'show' command.
Thanks in advance
|
tanks for the comment i will check that asap
for the boolean i changed them becaue it was not working for me...i do not know why, i am a carpenter not a code writer... i am trying
Last edited by homeopatix : 01-18-2021 at 05:53 PM.
|
|
|
01-06-2021, 05:05 AM
|
|
The Wary
Forum posts: 2
File comments: 22
Uploads: 0
|
Fix for clicking on minimized icon
Hello,
i would like to propose two changes to the MouseClick in minimized window - the window was toggled everytime i tried to move the icon
wrapping the funcioin inside a check for tresholdTrigger will prevent this
- sometimes when clicking the icon the window would appear below other screen elements
increasing ZOrder by one seems to fix it for me
added lines are shown in red
Code:
self.trigger.MouseClick = function( sender, args )
if not self.thresholdTrigger then
if(settings.isWindowVisible == "false") then
HorseStableWindow:SetVisible(true);
HorseStableWindow:SetZOrder(HorseStableWindow:GetZOrder()+1);
settings.isWindowVisible = true ;
SaveSettings(4);
else
HorseStableWindow:SetVisible(false);
settings.isWindowVisible = false ;
SaveSettings(4);
end
end
end
by the way, why did you change the check to
Code:
settings.isWindowVisible == "false"
in 1.05?
it should be a boolean, what is it that resets it to string?
and last i would add the ZOrder fix to the 'show' command.
Thanks in advance
Last edited by Tappo : 01-06-2021 at 05:51 AM.
|
|
|
01-02-2021, 06:07 AM
|
|
The Indomitable
Forum posts: 14
File comments: 357
Uploads: 32
|
Needed help
Hello Tappo,
Thank you for your feed back
I have done the two changes you asked me
Happy new year and play well
Last edited by homeopatix : 01-02-2021 at 06:07 AM.
|
|
|
01-02-2021, 05:32 AM
|
|
The Wary
Forum posts: 2
File comments: 22
Uploads: 0
|
windows always visible at startup
hello,
i would like the window to be hidden at startup, i believe the code should remember the latest state, but it doesn't.
first issue seems to be
Code:
MainMinimizedIcon = MinimizedIcon(Images.MinimizedIcon, 40, 40, HorseStableWindow:SetVisible(true));
this forces the window to visible, why do you need a callback here?
the second issue i did not track down yet
|
|
|
01-02-2021, 05:29 AM
|
|
The Wary
Forum posts: 2
File comments: 22
Uploads: 0
|
F12
Hello, can you please change the Main.lua so that the function HorseStableWindow.KeyDown looks like this, in order to correctly hide the window and icon on F12
Code:
HorseStableWindow.KeyDown=function(sender, args)
if ( args.Action == Turbine.UI.Lotro.Action.Escape ) then
HorseStableWindow:SetVisible(false);
settings.isWindowVisible = false;
end
-- https://www.lotro.com/forums/showthread.php?493466-How-to-hide-a-window-on-F12&p=6581962#post6581962
if ( args.Action == 268435635 ) then
hudVisible=not hudVisible;
if hudVisible then
HorseStableWindow:SetVisible(false);
MainMinimizedIcon:SetVisible(false);
else
HorseStableWindow:SetVisible(settings.isWindowVisible);
MainMinimizedIcon:SetVisible(true);
end
end
end
|
|
|
All times are GMT -5. The time now is 11:17 PM.
|
|