Skip to content

Commit

Permalink
[Release] v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkdev committed Jan 11, 2020
1 parent 103a9b9 commit e1556de
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# v1.2.0 (January 11, 2019)
* Translations: 🇪🇸
# v1.2.1 (January 12, 2019)
* Fix: keyup issue on aspect ratio custom values

[![](https://img.shields.io/badge/donate-paypal-005EA6.svg)](https://www.paypal.me/ptkdev) [![](https://img.shields.io/badge/donate-patreon-F87668.svg)](https://www.patreon.com/ptkdev) [![](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg)](https://github.com/sponsors/ptkdev/) [![](https://img.shields.io/badge/donate-ko--fi-29abe0.svg)](https://ko-fi.com/ptkdev)


# v1.2.0 (January 11, 2019)
* Translations: 🇪🇸

# v1.1.0 (January 10, 2019)
* Feature: detect fullscreen

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# 🖥 Chrome Extension: Aspect Ratio 21:9

[![](https://img.shields.io/badge/version-v1.2.0-lightgrey.svg)](https://github.com/ptkdev/chrome-extension-aspectratio219/releases) [![](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/ptkdev/chrome-extension-aspectratio219/blob/nightly/LICENSE.md) [![](https://img.shields.io/badge/ES-9-F7DF1E.svg)](https://wikipedia.org/wiki/ECMAScript) [![](https://snyk.io/test/github/ptkdev/chrome-extension-aspectratio219/badge.svg)](https://snyk.io/test/github/ptkdev/chrome-extension-aspectratio219)
[![](https://img.shields.io/badge/version-v1.2.1-lightgrey.svg)](https://github.com/ptkdev/chrome-extension-aspectratio219/releases) [![](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/ptkdev/chrome-extension-aspectratio219/blob/nightly/LICENSE.md) [![](https://img.shields.io/badge/ES-9-F7DF1E.svg)](https://wikipedia.org/wiki/ECMAScript) [![](https://snyk.io/test/github/ptkdev/chrome-extension-aspectratio219/badge.svg)](https://snyk.io/test/github/ptkdev/chrome-extension-aspectratio219)

> Fit the screen properly in fullscreen mode on monitor with 21:9 aspect ratio. Work on Netflix, Youtube, PrimeVideo, VVVVID, etc...
Expand Down
8 changes: 8 additions & 0 deletions client/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,18 @@ function settings_aspect() {
chrome.storage.local.set({"aspect_x": this.value});
});

dom.query("#aspect_x")[0].addEventListener("keyup", function() {
chrome.storage.local.set({"aspect_x": this.value});
});

dom.query("#aspect_y")[0].addEventListener("change", function() {
chrome.storage.local.set({"aspect_y": this.value});
});

dom.query("#aspect_y")[0].addEventListener("keyup", function() {
chrome.storage.local.set({"aspect_y": this.value});
});

dom.query("#stretch")[0].addEventListener("click", function() {
dom.id("#aspect_x").value = "1.33";
dom.id("#aspect_y").value = "1";
Expand Down
2 changes: 1 addition & 1 deletion configs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "__MSG_extName__",
"description": "__MSG_description__",
"manifest_version": 2,
"version": "1.2.0",
"version": "1.2.1",
"author": "Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)",
"browser_action": {
"default_icon":"images/icon_app_128x128.png",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ptkdev/chrome-extension-aspectratio219",
"description": "Fit the screen properly in fullscreen mode on monitor with 21:9 aspect ratio.",
"version": "1.2.0",
"version": "1.2.1",
"main": "src/manifest.json",
"author": "Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)",
"license": "MIT",
Expand Down

0 comments on commit e1556de

Please sign in to comment.