private void DrawGlobalResetButton(Rect resetRect) { if (Widgets.ButtonText(resetRect, _resetText)) { ConfirmationDialog.Open("TKUtils.PawnKindStore.ConfirmReset".TranslateSimple(), PerformGlobalReset); } }
private void DrawGlobalResetButton(Rect canvas) { if (Widgets.ButtonText(canvas, _resetAllText)) { ConfirmationDialog.Open("TKUtils.TraitStore.ConfirmReset".TranslateSimple(), PerformGlobalReset); } }