Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed logic bug around computing Y coordinate of mouse location relative

to ViewportTop.

Added icon and screenshot.
  • Loading branch information...
commit 057d117eba80ad949b573502904f523f8eebfdee 1 parent 1cfd075
authored January 14, 2010
6  TripleClick.csproj
@@ -73,6 +73,12 @@
73 73
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
74 74
       <IncludeInVSIX>true</IncludeInVSIX>
75 75
     </Content>
  76
+    <Content Include="tripleclick-icon.png">
  77
+      <IncludeInVSIX>true</IncludeInVSIX>
  78
+    </Content>
  79
+    <Content Include="tripleclick-screenshot.png">
  80
+      <IncludeInVSIX>true</IncludeInVSIX>
  81
+    </Content>
76 82
   </ItemGroup>
77 83
   <ItemGroup>
78 84
     <Folder Include="Properties\" />
20  TripleClick.sln
... ...
@@ -0,0 +1,20 @@
  1
+
  2
+Microsoft Visual Studio Solution File, Format Version 11.00
  3
+# Visual Studio 2010
  4
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TripleClick", "TripleClick.csproj", "{8E966A68-EC5D-43C1-A5C9-1EE23F1B89E4}"
  5
+EndProject
  6
+Global
  7
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
  8
+		Debug|Any CPU = Debug|Any CPU
  9
+		Release|Any CPU = Release|Any CPU
  10
+	EndGlobalSection
  11
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
  12
+		{8E966A68-EC5D-43C1-A5C9-1EE23F1B89E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  13
+		{8E966A68-EC5D-43C1-A5C9-1EE23F1B89E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
  14
+		{8E966A68-EC5D-43C1-A5C9-1EE23F1B89E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
  15
+		{8E966A68-EC5D-43C1-A5C9-1EE23F1B89E4}.Release|Any CPU.Build.0 = Release|Any CPU
  16
+	EndGlobalSection
  17
+	GlobalSection(SolutionProperties) = preSolution
  18
+		HideSolutionNode = FALSE
  19
+	EndGlobalSection
  20
+EndGlobal
2  TripleClickMouseProcessor.cs
@@ -143,7 +143,7 @@ void StopDrag()
143 143
 
144 144
         Point RelativeToView(Point position)
145 145
         {
146  
-            return new Point(position.X - _view.ViewportLeft, position.Y - _view.ViewportTop);
  146
+            return new Point(position.X + _view.ViewportLeft, position.Y + _view.ViewportTop);
147 147
         }
148 148
 
149 149
         #endregion
2  source.extension.vsixmanifest
@@ -8,6 +8,8 @@
8 8
     <Locale>1033</Locale>
9 9
     <MoreInfoUrl>http://blogs.msdn.com/noahric</MoreInfoUrl>
10 10
     <License>ms-pl.txt</License>
  11
+    <Icon>tripleclick-icon.png</Icon>
  12
+    <PreviewImage>tripleclick-screenshot.png</PreviewImage>
11 13
     <SupportedProducts>
12 14
       <VisualStudio Version="10.0">
13 15
         <Edition>VST_All</Edition>
BIN  tripleclick-icon.png
BIN  tripleclick-screenshot.png

0 notes on commit 057d117

Please sign in to comment.
Something went wrong with that request. Please try again.