diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-03-29 17:11:58 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-03-29 17:11:58 +0100 |
| commit | 616e26d066c2986e02889fa1aa95f69c9334f86f (patch) | |
| tree | 6e28359fee135219b7c77543f8a0ac455cf0facf /Tests | |
| parent | f1531e562b4ecd9d568a28c2fffe7ffed06c728a (diff) | |
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/CrowWindow.cs | 8 | ||||
| -rw-r--r-- | Tests/Tests.csproj | 49 |
2 files changed, 7 insertions, 50 deletions
diff --git a/Tests/CrowWindow.cs b/Tests/CrowWindow.cs index 1be9bb45..862a81b2 100644 --- a/Tests/CrowWindow.cs +++ b/Tests/CrowWindow.cs @@ -350,9 +350,11 @@ namespace Crow return; } } - } if (ifaceControl [focusedIdx].ProcessMouseMove (otk_e.X, otk_e.Y)) - return; - + } + if (focusedIdx >= 0) { + if (ifaceControl [focusedIdx].ProcessMouseMove (otk_e.X, otk_e.Y)) + return; + } CrowMouseMove.Raise (sender, otk_e); } protected virtual void GL_Mouse_ButtonUp(object sender, OpenTK.Input.MouseButtonEventArgs otk_e) diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index c86ff9cb..5d84473d 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -11,14 +11,9 @@ <StartupObject>Tests.BasicTests</StartupObject> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ReleaseVersion>0.5</ReleaseVersion> + <ReleaseVersion>0.7.2</ReleaseVersion> <OutputPath>$(SolutionDir)build/$(Configuration)</OutputPath> <IntermediateOutputPath>$(SolutionDir)build/obj/$(Configuration)</IntermediateOutputPath> - <CustomCommands> - <CustomCommands> - <Command type="Execute" command="${TargetName}" workingdir="${SolutionDir}/build/${ProjectConfigName}" /> - </CustomCommands> - </CustomCommands> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> @@ -28,53 +23,13 @@ <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> <DefineConstants>DEBUG;TRACE;MEASURE_TIME</DefineConstants> - <IntermediateOutputPath>$(SolutionDir)build\obj\$(Configuration)</IntermediateOutputPath> - <OutputPath>$(SolutionDir)build\Debug</OutputPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>none</DebugType> <Optimize>true</Optimize> <WarningLevel>0</WarningLevel> <ConsolePause>false</ConsolePause> - <IntermediateOutputPath>$(SolutionDir)build\obj\$(Configuration)</IntermediateOutputPath> - <OutputPath>$(SolutionDir)build\Release</OutputPath> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Custom Command' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Custom Command' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Custom Command' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Custom Command' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> - <PropertyGroup Condition=" '$(RunConfiguration)' == 'Custom Command' "> - <StartAction>Program</StartAction> - <StartProgram>%24{TargetName}</StartProgram> - <StartWorkingDirectory>%24{SolutionDir}\build\%24{ProjectConfigName}</StartWorkingDirectory> - <ConsolePause>false</ConsolePause> - </PropertyGroup> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Data" /> |