Fixed: Accidental global variable

This commit is contained in:
Martin Carlberg committed 2013-05-16 16:15:29 +02:00
1 parent b3e6eb74b2
commit 3808427f24
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ var CPTableViewDelegate_selectionShouldChangeInTableView_
CPTableViewDelegate_tableView_willDisplayView_forTableColumn_row_ = 1 << 17,
CPTableViewDelegate_tableViewSelectionDidChange_ = 1 << 18,
CPTableViewDelegate_tableViewSelectionIsChanging_ = 1 << 19,
CPTableViewDelegate_tableViewMenuForTableColumn_Row_ = 1 << 20;
CPTableViewDelegate_tableViewMenuForTableColumn_Row_ = 1 << 20,
CPTableViewDelegate_tableView_shouldReorderColumn_toColumn_ = 1 << 21;
//CPTableViewDraggingDestinationFeedbackStyles
+1 -1
View File
@@ -470,7 +470,7 @@ var scale_rotate = function(a, b, c, d)
var rotate_scale = function(a, b, c, d)
{
var sign = (a * d < 0.0 || b * c > 0.0) ? -1.0 : 1.0;
var sign = (a * d < 0.0 || b * c > 0.0) ? -1.0 : 1.0,
a1 = (ATAN2(sign * b, sign * a) + ATAN2(-c, d)) / 2.0,
cos = COS(a1),
sin = SIN(a1);