Fix menu monitor capture

This commit is contained in:
Jaex 2016-05-08 19:48:15 +03:00
parent 81d7fddf25
commit a1175b13b6
3 changed files with 4 additions and 3 deletions

View File

@ -355,7 +355,7 @@ namespace ShareX.ScreenCaptureLib
private void DrawMenuTip(Graphics g)
{
// TODO: Translate
string tipText = "Tip: Right click to open options menu.";
string tipText = "Tip: Right click to open options menu";
Size textSize = g.MeasureString(tipText, textFont).ToSize();
int offset = 10;
int padding = 3;

View File

@ -338,9 +338,10 @@ namespace ShareX.ScreenCaptureLib
{
Screen screen = screens[i];
ToolStripMenuItem tsmi = new ToolStripMenuItem(string.Format("{0}. {1}x{2}", i + 1, screen.Bounds.Width, screen.Bounds.Height));
int index = i;
tsmi.Click += (sender, e) =>
{
surface.MonitorIndex = i;
surface.MonitorIndex = index;
surface.Close(SurfaceResult.Monitor);
};
tsmiMonitorCapture.DropDownItems.Add(tsmi);

View File

@ -41,7 +41,7 @@ namespace ShareX.Setup
Steam // Create Steam folder
}
private static readonly SetupType Setup = SetupType.Stable;
private static readonly SetupType Setup = SetupType.Beta;
private static readonly string parentDir = @"..\..\..\";
private static readonly string binDir = Path.Combine(parentDir, "ShareX", "bin");