mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
No, ImGui, these buttons aren't the same.
This commit is contained in:
parent
f68e919421
commit
16fecd5e37
1 changed files with 12 additions and 6 deletions
|
|
@ -91,15 +91,21 @@ public partial class MtrlTab
|
|||
var dyePackB = _stainService.GudStmFile.GetValueOrNull(dyeB.Template, previewDyeB);
|
||||
using (var columns = ImUtf8.Columns(2, "ColorTable"u8))
|
||||
{
|
||||
ColorTableCopyClipboardButton(_colorTableSelectedPair << 1);
|
||||
ImUtf8.SameLineInner();
|
||||
retA |= ColorTablePasteFromClipboardButton(_colorTableSelectedPair << 1, disabled);
|
||||
using (ImUtf8.PushId("ClipboardA"u8))
|
||||
{
|
||||
ColorTableCopyClipboardButton(_colorTableSelectedPair << 1);
|
||||
ImUtf8.SameLineInner();
|
||||
retA |= ColorTablePasteFromClipboardButton(_colorTableSelectedPair << 1, disabled);
|
||||
}
|
||||
ImGui.SameLine();
|
||||
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}A");
|
||||
columns.Next();
|
||||
ColorTableCopyClipboardButton((_colorTableSelectedPair << 1) | 1);
|
||||
ImUtf8.SameLineInner();
|
||||
retB |= ColorTablePasteFromClipboardButton((_colorTableSelectedPair << 1) | 1, disabled);
|
||||
using (ImUtf8.PushId("ClipboardB"u8))
|
||||
{
|
||||
ColorTableCopyClipboardButton((_colorTableSelectedPair << 1) | 1);
|
||||
ImUtf8.SameLineInner();
|
||||
retB |= ColorTablePasteFromClipboardButton((_colorTableSelectedPair << 1) | 1, disabled);
|
||||
}
|
||||
ImGui.SameLine();
|
||||
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}B");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue