aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-14 22:57:11 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-14 22:57:11 +0000
commit44548eed4c7e103ced2c9e87bd056fe59fedf617 (patch)
tree328846e4d0666a82bf608ca09147d489f6d4d599 /Source/SPTooltip.m
parent8f82f023c394be8bba83c53e1ceeb3bbaf54e41d (diff)
downloadsequelpro-44548eed4c7e103ced2c9e87bd056fe59fedf617.tar.gz
sequelpro-44548eed4c7e103ced2c9e87bd056fe59fedf617.tar.bz2
sequelpro-44548eed4c7e103ced2c9e87bd056fe59fedf617.zip
• added SPTooltips for cell content in Content Table
- text strings are display with line breaks and tabs - if cell content represents image data display that image as transparent thumbnail (by using base64 encoded HTML img tag) Notes: - SPTooltip implementation to show an image via a NSImageView will be implemented soon (the HTML way needs too much memory due to base64 encoded string) - to discuss: Should we add a preference setting to display these tooltips?
Diffstat (limited to 'Source/SPTooltip.m')
-rw-r--r--Source/SPTooltip.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m
index 94017795..793deb54 100644
--- a/Source/SPTooltip.m
+++ b/Source/SPTooltip.m
@@ -325,7 +325,7 @@ static float slow_in_out (float t)
float deltaY = p.y - aPoint.y;
float dist = sqrtf(deltaX * deltaX + deltaY * deltaY);
- float moveThreshold = 20;
+ float moveThreshold = 10;
return dist > moveThreshold;
}