Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sk-sketch-webview

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sk-sketch-webview - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

yarn.lock

7

lib/index.js

@@ -73,2 +73,3 @@ /* globals NSUUID NSThread NSPanel NSMakeRect NSTexturedBackgroundWindowMask NSTitledWindowMask NSWindowTitleHidden NSClosableWindowMask NSColor NSWindowMiniaturizeButton NSWindowZoomButton NSFloatingWindowLevel WebView COScript NSWindowCloseButton NSFullSizeContentViewWindowMask NSVisualEffectView NSAppearance NSAppearanceNameVibrantLight NSVisualEffectBlendingModeBehindWindow NSLayoutConstraint NSLayoutRelationEqual NSLayoutAttributeLeft NSLayoutAttributeTop NSLayoutAttributeRight NSLayoutAttributeBottom NSResizableWindowMask */

// Titlebar
var titleBgColor = NSColor.colorWithRed_green_blue_alpha(0.98, 0.98, 0.98, 1)
panel.setTitle(options.title || context.plugin.name())

@@ -79,2 +80,8 @@ if (options.hideTitleBar) {

}
var contentView = panel.contentView()
var titlebarView = contentView.superview().titlebarViewController().view(),
titlebarContainerView = titlebarView.superview();
titlebarView.setTransparent(true);
titlebarView.setBackgroundColor(titleBgColor);
titlebarContainerView.superview().setBackgroundColor(titleBgColor);

@@ -81,0 +88,0 @@ // Hide minize and zoom buttons

2

package.json
{
"name": "sk-sketch-webview",
"version": "0.0.1",
"version": "0.0.2",
"description": "A sketch module for creating an complex UI with a webview(configurable titlebar)",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc