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

@antv/g-mobile

Package Overview
Dependencies
Maintainers
36
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-mobile - npm Package Compare versions

Comparing version 0.0.1-beta.9 to 0.0.1-beta.10

7

esm/canvas.js

@@ -43,3 +43,3 @@ import { __extends } from "tslib";

// 是否允许局部刷新图表
cfg['localRefresh'] = false;
cfg['localRefresh'] = true;
cfg['refreshElements'] = [];

@@ -95,2 +95,3 @@ // 是否在视图内自动裁剪

if (changeType === 'attr' || changeType === 'sort' || changeType === 'changeSize') {
this.set('refreshElements', [this]);
this.draw();

@@ -275,3 +276,3 @@ }

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -289,3 +290,3 @@ this.set('refreshElements', []);

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -292,0 +293,0 @@ // 对于 https://github.com/antvis/g/issues/422 的场景,全局渲染的模式下也会记录更新的元素队列,因此全局渲染完后也需要置空

@@ -45,3 +45,3 @@ "use strict";

// 是否允许局部刷新图表
cfg['localRefresh'] = false;
cfg['localRefresh'] = true;
cfg['refreshElements'] = [];

@@ -97,2 +97,3 @@ // 是否在视图内自动裁剪

if (changeType === 'attr' || changeType === 'sort' || changeType === 'changeSize') {
this.set('refreshElements', [this]);
this.draw();

@@ -277,3 +278,3 @@ }

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -291,3 +292,3 @@ this.set('refreshElements', []);

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -294,0 +295,0 @@ // 对于 https://github.com/antvis/g/issues/422 的场景,全局渲染的模式下也会记录更新的元素队列,因此全局渲染完后也需要置空

{
"name": "@antv/g-mobile",
"version": "0.0.1-beta.9",
"version": "0.0.1-beta.10",
"description": "A mobile canvas library which providing 2d",

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

@@ -48,3 +48,3 @@ import { AbstractCanvas, CanvasCfg, Point } from '@antv/g-base';

// 是否允许局部刷新图表
cfg['localRefresh'] = false;
cfg['localRefresh'] = true;
cfg['refreshElements'] = [];

@@ -104,2 +104,3 @@ // 是否在视图内自动裁剪

if (changeType === 'attr' || changeType === 'sort' || changeType === 'changeSize') {
this.set('refreshElements', [this]);
this.draw();

@@ -291,3 +292,3 @@ }

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -306,3 +307,3 @@ this.set('refreshElements', []);

if (this.isMini() && !this.isMiniNative()) {
context.draw();
context.draw(true);
}

@@ -309,0 +310,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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