* Taseditor: fixed bug with popup screenshots
* updated lua scripts
This commit is contained in:
parent
6e5ed43c21
commit
1d761114b6
|
@ -17,10 +17,10 @@
|
|||
---------------------------------------------------------------------------
|
||||
|
||||
pads = {
|
||||
{num=1, on=true, color="red", x=9, y=200, w=34, h=10},
|
||||
{num=2, on=false, color="yellow", x=54, y=200, w=34, h=10},
|
||||
{num=3, on=false, color="green", x=99, y=200, w=34, h=10},
|
||||
{num=4, on=false, color="orange", x=144, y=200, w=34, h=10}
|
||||
{num=1, on=true, color="red", x=50, y=200, w=34, h=10},
|
||||
{num=2, on=true, color="yellow", x=90, y=200, w=34, h=10},
|
||||
{num=3, on=false, color="green", x=130, y=200, w=34, h=10},
|
||||
{num=4, on=false, color="orange", x=170, y=200, w=34, h=10}
|
||||
}
|
||||
|
||||
buttons = {
|
||||
|
@ -54,6 +54,8 @@ function draw_joypads()
|
|||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
gui.text(1, 9, "TAS Editor is not engaged.");
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ function display_selection()
|
|||
else
|
||||
gui.text(0, 10, "Selection: no");
|
||||
end
|
||||
else
|
||||
gui.text(1, 9, "TAS Editor is not engaged.");
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -88,6 +88,8 @@ function reversed_recorder()
|
|||
end
|
||||
end
|
||||
playback_last_position = playback_position;
|
||||
else
|
||||
gui.text(1, 9, "TAS Editor is not engaged.");
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ function ShowNotes()
|
|||
note = taseditor.getnote(taseditor.getmarker(selection_position));
|
||||
DisplayText(1, 190, note, 50);
|
||||
end
|
||||
else
|
||||
gui.text(1, 9, "TAS Editor is not engaged.");
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -53,6 +53,8 @@ function track_changes()
|
|||
last_frame = current_frame;
|
||||
last_frame_indicator_value = indicator;
|
||||
end
|
||||
else
|
||||
gui.text(1, 9, "TAS Editor is not engaged.");
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -487,6 +487,7 @@ void BOOKMARKS::MouseMove(int new_x, int new_y)
|
|||
}
|
||||
void BOOKMARKS::FindItemUnderMouse()
|
||||
{
|
||||
item_under_mouse = ITEM_UNDER_MOUSE_NONE;
|
||||
if (mouse_x > list_row_left)
|
||||
{
|
||||
item_under_mouse = (mouse_y - list_row_top) / list_row_height;
|
||||
|
|
Loading…
Reference in New Issue