From f96e778c35e0cce1174ce54e8aeabff10a80123a Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 19 Oct 2019 11:46:56 -0500 Subject: [PATCH] remove unused method --- .../CustomControls/InputRoll.Drawing.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs b/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs index 068908729e..f26d76fe3a 100644 --- a/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs +++ b/BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs @@ -44,19 +44,6 @@ namespace BizHawk.Client.EmuHawk } } - private string Cap(string text, int? width) - { - if (string.IsNullOrEmpty(text) || width == null) - { - return text; - } - - var max = width.Value / (_charSize.Width - CellWidthPadding); - return text.Length < max - ? text - : text.Substring(0, max); - } - private void DrawString(string text, int? width, Point point) { if (string.IsNullOrWhiteSpace(text))