- Fix for the custom display window where apply and cancel buttons where over the edit window.
- Fix for an issue on editing a bookmark.
This commit is contained in:
@@ -1878,6 +1878,8 @@
|
||||
this_block.bg:SetVertexColor (.4, .4, .4, .6)
|
||||
end
|
||||
else
|
||||
bookmark.atributo = bookmark.atributo or 1
|
||||
bookmark.sub_atributo = bookmark.sub_atributo or 1
|
||||
this_block.label.text = _detalhes.sub_atributos [bookmark.atributo].lista [bookmark.sub_atributo]
|
||||
this_block.icon.texture = _detalhes.sub_atributos [bookmark.atributo].icones [bookmark.sub_atributo] [1]
|
||||
this_block.icon.texcoord = _detalhes.sub_atributos [bookmark.atributo].icones [bookmark.sub_atributo] [2]
|
||||
|
||||
@@ -1704,9 +1704,15 @@
|
||||
if (code_editor.expanded) then
|
||||
code_editor:SetSize (420, 238)
|
||||
code_editor.expanded = nil
|
||||
|
||||
custom_window.box0.cancelbutton:SetPoint ("bottomleft", attribute_box, "bottomright", 37, -10)
|
||||
--custom_window.box0.acceptbutton:SetPoint ("left", cancel_button, "right", 2, 0)
|
||||
else
|
||||
code_editor:SetSize (950, 800)
|
||||
code_editor.expanded = true
|
||||
|
||||
custom_window.box0.cancelbutton:SetPoint ("bottomleft", attribute_box, "bottomright", -237, -10)
|
||||
--custom_window.box0.acceptbutton:SetPoint
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user