mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 23:46:56 +00:00
Adjusted self referencing approach in resources object
Changed self references in resources object to now access the current resource in preparation for future caching system
This commit is contained in:
Binary file not shown.
+2
-2
@@ -164,7 +164,7 @@ const resources = {
|
||||
},
|
||||
buttonScale: 0.7,
|
||||
buttonDidAppear: function() {
|
||||
resources['hulu'].buttonParent().querySelector('.progress-bar-tracker').style.width = 'calc(100% - 380px)';
|
||||
currentResource.buttonParent().querySelector('.progress-bar-tracker').style.width = 'calc(100% - 380px)';
|
||||
},
|
||||
videoElement: function() {
|
||||
return document.getElementById('content-video-player');
|
||||
@@ -236,7 +236,7 @@ const resources = {
|
||||
},
|
||||
buttonStyle: 'position:absolute;right:0;top:0;width:2em;height:100%;cursor:pointer;background-color:#262626',
|
||||
buttonDidAppear: function() {
|
||||
resources['netflix'].buttonParent().style.paddingRight = '50px';
|
||||
currentResource.buttonParent().style.paddingRight = '50px';
|
||||
},
|
||||
videoElement: function() {
|
||||
const e = document.querySelector('.player-video-wrapper');
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.2.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>30</string>
|
||||
<string>31</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user