Display hint for patched content (#11551)

* Display hint for patched content

* Use icon for patched hint

* Add disclaimer / Use file icon

* Rename bundle key
This commit is contained in:
MinRi2
2026-01-15 07:38:31 +08:00
committed by GitHub
parent 0e684f1a32
commit 1ce9b117cc
4 changed files with 20 additions and 0 deletions

View File

@@ -179,6 +179,12 @@ public class DatabaseDialog extends BaseDialog{
setColor(Color.scarlet);
touchable = Touchable.disabled;
}}).size(8 * 4).pad(3);
}else if(state.isGame() && state.patcher.isPatched(unlock)){
list.stack(image, new Table(){{
right().bottom().touchable = Touchable.disabled;
// Interpolated color (lerp lightishGray and white) for better contrast
image(Icon.fileSmall).size(12f).color(Tmp.c1.set(Color.white).a(0.5f));
}}).size(8 * 4).pad(3);
}else{
list.add(image).size(8 * 4).pad(3);
}