Skip to content

Commit

Permalink
new css, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaechler committed Feb 18, 2016
1 parent d93e8dd commit 73da25b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion app/constants.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
angular.module('app')
// http://www.pcpix.com/Photoshop/char.htm
.constant('psEvent', {
make: 1298866208,
delete: 1147958304,
close: 1131180832,
select: 1936483188,
set: 1936028772
set: 1936028772,
canvasSize: 1131312723,
imageSize: 1231906643
})
.constant('xmlNamespaces', {
xmp: 'http://ns.adobe.com/xap/1.0/',
Expand Down
8 changes: 3 additions & 5 deletions app/controllers/main_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@

$scope.documentSize = {};


// TODO: Remove debugging exposures.
global._scope = $scope;
global.RMD = RMD;
//global._scope = $scope;
//global.RMD = RMD;

// store the original image size
csInterface.evalScript('getDocumentSize()', function (value) {
Expand All @@ -72,7 +70,7 @@
* @param csEvent Photoshop Event.
*/
var PhotoshopCallbackUnique = function (csEvent) {
// console.log('receiving Callback: ', csEvent);
console.log('receiving Callback: ', csEvent);
if (typeof csEvent.data === "string") {
var eventData = csEvent.data.replace("ver1,{", "{");
var data = JSON.parse(eventData);
Expand Down
6 changes: 6 additions & 0 deletions sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,10 @@ button.active {
border: 1px solid #333434;
box-shadow: inset 0 1px #737373;
// background-color: $background-color-light;
}

.button-help {
position: absolute;
top: 1rem;
right: 1rem;
}

0 comments on commit 73da25b

Please sign in to comment.