Giter VIP home page Giter VIP logo

Comments (6)

DanielNoord avatar DanielNoord commented on July 24, 2024 1

I have looked into this and found it to be pretty difficult to neatly implement.

The problem is that the bar with is not actually an html element, but rather padding of a section.
Therefore, we can't register a click on the bar but only on the whole section. This is problematic as this would trigger the visibility-toggle with every purchase of an update.

We could rewrite the code to generate the store and make it include a new first clickable element or replace the padding with an actual element. However, after spending quite some time understanding this quite obscure and badly documented part of the source-code I am a bit burnt out.

I think it will be better to ask Orteil to implement this, as I believe this is a good addition to the base-game and should not be that hard. I could even code it myself and deliver it to him to implement it, which would take much less time compared to making CookieMonster do this.

Edit: For the time being I will therefore also drop this from the road-map for the next version and leave it until a later time.

from cookiemonster.

Aktanusa avatar Aktanusa commented on July 24, 2024

Hmm hide how, in settings? a + next to them?

from cookiemonster.

sgoldeen avatar sgoldeen commented on July 24, 2024

If you could click the bar for them, that'd be great, Like the area I have put a red box around in this screenshot
screen shot 2016-05-21 at 1 30 28 pm

from cookiemonster.

Aktanusa avatar Aktanusa commented on July 24, 2024

Sounds like a good idea

from cookiemonster.

Aktanusa avatar Aktanusa commented on July 24, 2024

This is really old, but I just noticed this. Would this still be needed with the game already automatically reduce to one line?

from cookiemonster.

TakGalaman avatar TakGalaman commented on July 24, 2024

I would like this, or something similar (a "lock these buttons" option) to avoid accidentally buying the chocolate egg or switching seasons during a cookie storm or when clicking a reindeer.

from cookiemonster.

Related Issues (20)

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.