新增自定义动画类,修复道具数量显示功能,更新项目脚本配置,禁用多个项目功能,调整UI元素位置,删除无用文件。
This commit is contained in:
@@ -16,12 +16,8 @@ class ItemFusionC_ItemSlot extends LenheartNewUI_ItemSlot {
|
||||
HoverFlag = false;
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
constructor(X, Y, Index) {
|
||||
MyIndex = Index;
|
||||
=======
|
||||
constructor(X, Y) {
|
||||
>>>>>>> a11458d226ec41caa22d30b6d76893362389e3e1
|
||||
LenheartNewUI_ItemSlot.constructor(X, Y);
|
||||
}
|
||||
|
||||
@@ -36,21 +32,21 @@ class ItemFusionC_ItemSlot extends LenheartNewUI_ItemSlot {
|
||||
// if (Item.rawin("itemAddress")) Parent.TemporaryDrawItemAddress = null;
|
||||
// }
|
||||
|
||||
CheckInRect();
|
||||
// CheckInRect();
|
||||
|
||||
}
|
||||
|
||||
function CheckInRect() {
|
||||
local MousePos_X = IMouse.GetXPos();
|
||||
local MousePos_Y = IMouse.GetYPos();
|
||||
if (sq_IsIntersectRect(MousePos_X, MousePos_Y, 1, 1, X, Y, 30, 30)) {
|
||||
//绘制悬停框
|
||||
L_sq_SetDrawImgModel(2, 0);
|
||||
Rindro_Image_GlobalMap["lenheartui"].DrawPng(353, X, Y);
|
||||
L_sq_ReleaseDrawImgModel();
|
||||
HoverFlag = true;
|
||||
} else HoverFlag = false;
|
||||
}
|
||||
// function CheckInRect() {
|
||||
// local MousePos_X = IMouse.GetXPos();
|
||||
// local MousePos_Y = IMouse.GetYPos();
|
||||
// if (sq_IsIntersectRect(MousePos_X, MousePos_Y, 1, 1, X, Y, 30, 30)) {
|
||||
// //绘制悬停框
|
||||
// L_sq_SetDrawImgModel(2, 0);
|
||||
// Rindro_Image_GlobalMap["lenheartui"].DrawPng(353, X, Y);
|
||||
// L_sq_ReleaseDrawImgModel();
|
||||
// HoverFlag = true;
|
||||
// } else HoverFlag = false;
|
||||
// }
|
||||
|
||||
|
||||
function DiscardItem(info) {
|
||||
|
||||
Reference in New Issue
Block a user