Giter Site home page Giter Site logo

gesture_zoom_box's Introduction

Header

Profile Views Nickname Gender Age Work Years Mail WeChat

👋 Welcome to my GitHub

I'm a developer who is passionate about Android and front-end. This is my homepage.

💪 What i'm good at

Web Android 微信小程序 微信小游戏
React Vue Taro uni-app Node Flutter Cocos Creator
JavaScript TypeScript Html5 Css3 Java Kotlin Dart Python

🌟 My GitHub stats

gesture_zoom_box's People

Contributors

jhass avatar shichaohui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gesture_zoom_box's Issues

放大到超出倍数有些问题

双手捏合放大到超出最大倍数,然后不松手,第三只手指点击屏幕。
图片会偏移出视图或者卡住报错哦

越界回弹问题

  // 处理 Y 轴边界 请使用这个,下边注释的代码会导致放大后不能滑动到边界
  double scaleOffsetY = context.size.height * (realScale - 1.0) / 2;

// double scaleOffsetY =
// (context.size.height * realScale - MediaQuery.of(context).size.height) / 2;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.