minits fixes
This commit is contained in:
@@ -591,10 +591,10 @@ function tab_layers_handle_layer_icon_state(l: slot_layer_t, i: i32, state: zui_
|
||||
if (ui.is_hovered && texpaint_preview != null) {
|
||||
if (slot_layer_is_mask(l)) {
|
||||
tab_layers_make_mask_preview_rgba32(l);
|
||||
zui_tooltip_image(context_raw.mask_preview_rgba32);
|
||||
_zui_tooltip_image(context_raw.mask_preview_rgba32);
|
||||
}
|
||||
else {
|
||||
zui_tooltip_image(texpaint_preview);
|
||||
_zui_tooltip_image(texpaint_preview);
|
||||
}
|
||||
if (i < 9) {
|
||||
let i1: i32 = (i + 1);
|
||||
|
||||
@@ -133,7 +133,7 @@ function tab_brushes_draw(htab: zui_handle_t) {
|
||||
});
|
||||
}
|
||||
else {
|
||||
zui_tooltip_image(img_full);
|
||||
_zui_tooltip_image(img_full);
|
||||
zui_tooltip(project_brushes[i].canvas.name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ function tab_fonts_draw(htab: zui_handle_t) {
|
||||
});
|
||||
}
|
||||
else {
|
||||
zui_tooltip_image(img);
|
||||
_zui_tooltip_image(img);
|
||||
zui_tooltip(project_fonts[i].name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ function tab_materials_draw_slots(mini: bool) {
|
||||
}, 13 + add);
|
||||
}
|
||||
if (ui.is_hovered) {
|
||||
zui_tooltip_image(imgFull);
|
||||
_zui_tooltip_image(imgFull);
|
||||
if (i < 9) {
|
||||
let i1: i32 = i + 1;
|
||||
zui_tooltip(project_materials[i].canvas.name + " - (" + map_get(config_keymap, "select_material") + " " + i1 + ")");
|
||||
|
||||
@@ -110,7 +110,7 @@ function tab_textures_draw(htab: zui_handle_t) {
|
||||
let is_packed: bool = project_raw.packed_assets != null && project_packed_asset_exists(project_raw.packed_assets, asset.file);
|
||||
|
||||
if (ui.is_hovered) {
|
||||
zui_tooltip_image(img, 256);
|
||||
_zui_tooltip_image(img, 256);
|
||||
if (is_packed) {
|
||||
zui_tooltip(asset.name + " " + tr("(packed)"));
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ function ui_files_file_browser(ui: zui_t, handle: zui_handle_t, folders_only: bo
|
||||
}
|
||||
state = _zui_image(icon, 0xffffffff, w * zui_SCALE(ui));
|
||||
if (ui.is_hovered) {
|
||||
zui_tooltip_image(icon);
|
||||
_zui_tooltip_image(icon);
|
||||
zui_tooltip(f);
|
||||
}
|
||||
generic = false;
|
||||
@@ -291,7 +291,7 @@ function ui_files_file_browser(ui: zui_t, handle: zui_handle_t, folders_only: bo
|
||||
}
|
||||
state = _zui_image(icon, 0xffffffff, w * zui_SCALE(ui));
|
||||
if (ui.is_hovered) {
|
||||
zui_tooltip_image(icon);
|
||||
_zui_tooltip_image(icon);
|
||||
zui_tooltip(f);
|
||||
}
|
||||
generic = false;
|
||||
|
||||
@@ -62,7 +62,7 @@ function ui_header_draw_tool_properties(ui: zui_t) {
|
||||
}
|
||||
_zui_image(project_get_image(project_assets[cid]));
|
||||
if (ui.is_hovered) {
|
||||
zui_tooltip_image(project_get_image(project_assets[cid]), 256);
|
||||
_zui_tooltip_image(project_get_image(project_assets[cid]), 256);
|
||||
}
|
||||
}
|
||||
if (zui_button(tr("Import"))) {
|
||||
|
||||
Reference in New Issue
Block a user