adobe-photoshop / spaces-design

Adobe Photoshop Design Space
http://adobe-photoshop.github.io/
Other
853 stars 74 forks source link

Set appendCopy and skipTransform on startup #3598

Closed baaygun closed 8 years ago

baaygun commented 8 years ago

This will require pg-dev-mac#996 or later builds. Also will require https://github.com/adobe-photoshop/spaces-adapter/pull/182, and will address #3246 and #3543

I've exposed the Layers Panel option "Add "copy" to layer names" in Photoshop to us, and added an lib/application method to set it. I've also set it up as a auto-restored property. So now, when we option drag / duplicate layers, they don't get "copy" added to their names. #3543

Skip transform when placing SOs from library was already an existing preference in Photoshop, so I've added a new setGlobalPreferences API to lib/application to set it. This was a conscious decision, instead of having one function to set an option, for future uses of this API. #3246

iwehrman commented 8 years ago

Nits 2 @volfied.

baaygun commented 8 years ago

@iwehrman thanks for the review. I realized we can call these in afterStartup since they don't affect our rendering and are not needed to change immediately.

iwehrman commented 8 years ago

:+1: