Skip to content

Commit

Permalink
Version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rberenguel committed Nov 24, 2024
1 parent 45de35c commit 274116c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ It can also be used in a standalone way by visiting https://www.mostlymaths.net/

All images and text are processed locally, no data is sent anywhere.

## Demo video
## Demo video for version 2.0

Click the image to open the video (youtube). If you don't want to do that, you can find the video in `media/goita-demo-v09.mov`.
Click the image to open the video (youtube).

[![](https://raw.githubusercontent.com/rberenguel/goita/refs/heads/gh-pages/media/goita-demo-v09.jpeg)](https://youtu.be/FFXH2IKZ_Vw&mode=theatre)
[![](https://raw.githubusercontent.com/rberenguel/goita/refs/heads/gh-pages/media/goita-demo-v09.jpeg)](https://youtu.be/Q2RcpPYaHbs&mode=theatre)

## Why? Aren't there a million like this?

Expand Down
3 changes: 2 additions & 1 deletion src/screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ const setupAllTheThings = (testImage) => () => {

document.addEventListener("paste", (event) => {
const clipboardData = event.clipboardData || window.clipboardData;

console.info(clipboardData);
if (clipboardData) {
const pastedText = clipboardData.getData("text");
console.info(pastedText);
if (pastedText && kind === "memes") {
// Can I take this out? It's the same as the callback-meme
const container = document.getElementById("meme-container");
Expand Down

0 comments on commit 274116c

Please sign in to comment.