Fix scrolling not working

This commit is contained in:
Kuba Orlik 2022-09-28 20:49:35 +02:00
parent f3d2c782e4
commit 9cb9f9de30
3 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,6 @@ RUN apk del .dev-deps
RUN rm -f /usr/local/lib/*.a RUN rm -f /usr/local/lib/*.a
RUN rm -rf /tmp/* /var/cache/apk/* RUN rm -rf /tmp/* /var/cache/apk/*
RUN apk add jq sed nodejs RUN apk add jq sed nodejs
COPY ./mozilla /root/.mozilla
RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
RUN apk update RUN apk update
RUN apk add wmctrl git make gcc musl-dev libx11-dev zlib zlib-dev jpeg-dev RUN apk add wmctrl git make gcc musl-dev libx11-dev zlib zlib-dev jpeg-dev
@ -51,6 +50,8 @@ RUN apk add xclip
RUN apk add curl RUN apk add curl
RUN apk add vips RUN apk add vips
COPY ./mozilla /root/.mozilla
COPY . /opt COPY . /opt
CMD /opt/prepare-firefox.sh CMD /opt/prepare-firefox.sh

View File

@ -357,3 +357,5 @@ user_pref("trailhead.firstrun.didSeeAboutWelcome", true);
user_pref("browser.disableResetPrompt", true); user_pref("browser.disableResetPrompt", true);
user_pref("devtools.selfxss.count", 100); user_pref("devtools.selfxss.count", 100);
user_pref("intl.accept_languages", "pl,en-us"); user_pref("intl.accept_languages", "pl,en-us");
// user_pref("widget.non-native-theme.scrollbar.style", 4);
user_pref("widget.gtk.overlay-scrollbars.enabled", false); // make the scrollbars visible even if not scrolling

View File

@ -232,7 +232,7 @@ network_inspector_next_entry(){
# } # }
network_inspector_headers_need_scrolling (){ network_inspector_headers_need_scrolling (){
color=$(get_pixel_color 2870 1573) color=$(get_pixel_color 2875 1583)
[ "$color" = "#ededf0" ] [ "$color" = "#ededf0" ]
} }