mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 20:15:35 -04:00
Now the client compiles with C# 2.0
This commit is contained in:
parent
d27aba4c70
commit
1be3e8c3f6
@ -28,7 +28,7 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
public abstract void OnResize(int width, int height);
|
||||
|
||||
protected ClickHandler LeftOnly(SimpleClickHandler action) {
|
||||
return (g, w, btn, x, y) => {
|
||||
return delegate(Game g, Widget w, MouseButton btn, int x, int y) {
|
||||
if (btn != MouseButton.Left) return;
|
||||
if (action != null) action(g, w);
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="2.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{BEB1C785-5CAD-48FF-A886-876BF0A318D4}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
Loading…
x
Reference in New Issue
Block a user